kitedb 0.2.18

High-performance embedded graph database
Documentation
# 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"
name = "kitedb"
version = "0.2.18"
authors = ["KiteDB Contributors"]
build = "build.rs"
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "High-performance embedded graph database"
homepage = "https://github.com/mask-software/kitedb"
documentation = "https://docs.rs/kitedb"
readme = "CRATE_README.md"
license = "MIT"
repository = "https://github.com/mask-software/kitedb"

[features]
async = []
bench-profile = []
default = ["napi"]
napi = [
    "dep:napi",
    "dep:napi-derive",
    "dep:napi-build",
]
python = [
    "dep:pyo3",
    "dep:numpy",
]

[lib]
name = "kitedb"
crate-type = [
    "cdylib",
    "rlib",
]
path = "src/lib.rs"

[[example]]
name = "index_pipeline_hypothesis_bench"
path = "examples/index_pipeline_hypothesis_bench.rs"

[[example]]
name = "multi_writer_throughput_bench"
path = "examples/multi_writer_throughput_bench.rs"

[[example]]
name = "multi_writer_vector_throughput_bench"
path = "examples/multi_writer_vector_throughput_bench.rs"

[[example]]
name = "open_crc_sweep"
path = "examples/open_crc_sweep.rs"

[[example]]
name = "ray_vs_memgraph_bench"
path = "examples/ray_vs_memgraph_bench.rs"

[[example]]
name = "replication_catchup_bench"
path = "examples/replication_catchup_bench.rs"

[[example]]
name = "replication_soak_bench"
path = "examples/replication_soak_bench.rs"

[[example]]
name = "single_file_raw_bench"
path = "examples/single_file_raw_bench.rs"

[[example]]
name = "vector_ann_bench"
path = "examples/vector_ann_bench.rs"

[[example]]
name = "vector_bench"
path = "examples/vector_bench.rs"

[[example]]
name = "vector_compaction_bench"
path = "examples/vector_compaction_bench.rs"

[[test]]
name = "replication_faults_phase_d"
path = "tests/replication_faults_phase_d.rs"

[[test]]
name = "replication_metrics_phase_d"
path = "tests/replication_metrics_phase_d.rs"

[[test]]
name = "replication_phase_a"
path = "tests/replication_phase_a.rs"

[[test]]
name = "replication_phase_b"
path = "tests/replication_phase_b.rs"

[[test]]
name = "replication_phase_c"
path = "tests/replication_phase_c.rs"

[[test]]
name = "replication_phase_d"
path = "tests/replication_phase_d.rs"

[[bench]]
name = "concurrent"
path = "benches/concurrent.rs"
harness = false

[[bench]]
name = "distance"
path = "benches/distance.rs"
harness = false

[[bench]]
name = "graph"
path = "benches/graph.rs"
harness = false

[[bench]]
name = "single_file"
path = "benches/single_file.rs"
harness = false

[[bench]]
name = "write_path"
path = "benches/write_path.rs"
harness = false

[dependencies.base64]
version = "0.22"

[dependencies.bitflags]
version = "2.9"

[dependencies.byteorder]
version = "1.5"

[dependencies.crc32fast]
version = "1.4"

[dependencies.crossbeam-channel]
version = "0.5"

[dependencies.flate2]
version = "1.1"

[dependencies.hashbrown]
version = "0.15"

[dependencies.indexmap]
version = "2.9"

[dependencies.napi]
version = "3.0.0"
features = [
    "napi8",
    "serde-json",
]
optional = true

[dependencies.napi-derive]
version = "3.0.0"
optional = true

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

[dependencies.opentelemetry-proto]
version = "0.31"
features = [
    "gen-tonic",
    "metrics",
]
default-features = false

[dependencies.ordered-float]
version = "5.0"

[dependencies.parking_lot]
version = "0.12"

[dependencies.prost]
version = "0.14"

[dependencies.pyo3]
version = "0.24.1"
features = ["extension-module"]
optional = true

[dependencies.rand]
version = "0.8"

[dependencies.rustls-pemfile]
version = "2.2"

[dependencies.serde]
version = "1.0"
features = ["derive"]

[dependencies.serde_json]
version = "1.0"

[dependencies.thiserror]
version = "2.0"

[dependencies.tokio]
version = "1.45"
features = [
    "rt",
    "rt-multi-thread",
    "fs",
    "sync",
    "time",
    "net",
]

[dependencies.tonic]
version = "0.14"
features = [
    "transport",
    "tls-webpki-roots",
    "gzip",
]

[dependencies.ureq]
version = "2.10"

[dependencies.webpki-roots]
version = "1.0"

[dependencies.xxhash-rust]
version = "0.8"
features = ["xxh64"]

[dev-dependencies.criterion]
version = "0.5"

[dev-dependencies.neo4rs]
version = "0.8"

[dev-dependencies.tempfile]
version = "3.20"

[build-dependencies.napi-build]
version = "2"
optional = true

[target.'cfg(not(target_arch = "wasm32"))'.dependencies.fs2]
version = "0.4"

[target.'cfg(not(target_arch = "wasm32"))'.dependencies.memmap2]
version = "0.9"

[target.'cfg(not(target_arch = "wasm32"))'.dependencies.rayon]
version = "1.10"

[target.'cfg(not(target_arch = "wasm32"))'.dependencies.zstd]
version = "0.13"

[target."cfg(unix)".dependencies.libc]
version = "0.2"

[target."cfg(unix)".dependencies.nix]
version = "0.29"
features = ["fs"]

[profile.dev]
opt-level = 1

[profile.release]
lto = true
codegen-units = 1
strip = "symbols"