# THIS FILE IS AUTOMATICALLY GENERATED BY CARGO
#
# When uploading crates to the registry Cargo will automatically
# "normalize" Cargo.toml files for maximal compatibility
# with all versions of Cargo and also rewrite `path` dependencies
# to registry (e.g., crates.io) dependencies.
#
# If you are reading this file be aware that the original Cargo.toml
# will likely look very different (and much more reasonable).
# See Cargo.toml.orig for the original contents.

[package]
edition = "2021"
rust-version = "1.95.0"
name = "raphtory-api"
version = "0.18.5"
authors = ["Pometry"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Raphtory common interface and APIs"
homepage = "https://github.com/Raphtory/raphtory/"
documentation = "https://raphtory.readthedocs.io/en/latest/"
readme = "README.md"
keywords = [
    "graph",
    "temporal-graph",
    "temporal",
]
license = "GPL-3.0"
repository = "https://github.com/Raphtory/raphtory/"

[features]
io = ["dep:serde_json"]
python = [
    "dep:pyo3",
    "dep:pyo3-arrow",
    "dep:display-error-chain",
    "dep:numpy",
]
search = []
template = ["dep:minijinja"]
vectors = []

[lib]
name = "raphtory_api"
path = "src/lib.rs"

[dependencies.arrow-array]
version = "58.3.0"
features = ["chrono-tz"]

[dependencies.arrow-buffer]
version = "58.3.0"

[dependencies.arrow-ipc]
version = "58.3.0"

[dependencies.arrow-schema]
version = "58.3.0"

[dependencies.bigdecimal]
version = "0.4.10"
features = [
    "serde",
    "string-only",
]

[dependencies.bytemuck]
version = "1.25.0"
features = ["derive"]

[dependencies.chrono]
version = "0.4.44"
features = ["serde"]

[dependencies.dashmap]
version = "6.1.0"
features = [
    "serde",
    "rayon",
]

[dependencies.derive_more]
version = "2.1.1"
features = ["from"]

[dependencies.display-error-chain]
version = "0.2.2"
optional = true

[dependencies.indexmap]
version = "2.13.0"
features = ["rayon"]

[dependencies.iter-enum]
version = "1.2.1"
features = ["rayon"]

[dependencies.itertools]
version = "0.14.0"

[dependencies.lock_api]
version = "0.4.14"
features = [
    "arc_lock",
    "serde",
]

[dependencies.minijinja]
version = "2.18.0"
optional = true

[dependencies.num-traits]
version = "0.2.19"

[dependencies.numpy]
version = "0.28.0"
optional = true

[dependencies.parking_lot]
version = "0.12.5"
features = [
    "serde",
    "arc_lock",
    "send_guard",
]

[dependencies.pyo3]
version = "0.28.3"
features = [
    "multiple-pymethods",
    "chrono",
]
optional = true

[dependencies.pyo3-arrow]
version = "0.17.0"
optional = true

[dependencies.rand]
version = "0.9.4"

[dependencies.rayon]
version = "1.11.0"

[dependencies.rustc-hash]
version = "2.1.1"

[dependencies.serde]
version = "1.0.228"
features = [
    "derive",
    "rc",
    "derive",
]

[dependencies.serde_arrow]
version = "0.14.1"
features = ["arrow-58"]

[dependencies.serde_json]
version = "1.0.149"
features = ["float_roundtrip"]
optional = true

[dependencies.thiserror]
version = "2.0.18"

[dependencies.tracing]
version = "0.1.44"
features = ["log"]

[dependencies.tracing-subscriber]
version = "0.3.23"
features = [
    "std",
    "env-filter",
]

[dependencies.twox-hash]
version = "2.1.2"

[dev-dependencies.proptest]
version = "1.11.0"

[dev-dependencies.serde_json]
version = "1.0.149"
features = ["float_roundtrip"]
