nervusdb-core 1.0.3

Embeddable Graph Database Core (Rust)
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 = "2024"
name = "nervusdb-core"
version = "1.0.3"
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Embeddable Graph Database Core (Rust)"
readme = false
keywords = [
    "graph",
    "database",
    "embedded",
    "rdf",
    "cypher",
]
categories = [
    "database",
    "data-structures",
]
license = "AGPL-3.0-only"
repository = "https://github.com/LuQing-Studio/nervusdb"
resolver = "2"

[features]
default = ["varint-keys"]
fts = ["dep:tantivy"]
migration-cli = [
    "clap",
    "indicatif",
]
temporal = ["dep:nervusdb-temporal"]
varint-keys = []
vector = [
    "dep:usearch",
    "dep:half",
]

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

[[bin]]
name = "nervus-crash-test"
path = "src/bin/nervus-crash-test.rs"

[[bin]]
name = "nervus-migrate"
path = "src/bin/nervus-migrate.rs"
required-features = ["migration-cli"]

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

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

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

[[example]]
name = "bench_temporal"
path = "examples/bench_temporal.rs"
required-features = ["temporal"]

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

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

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

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

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

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

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

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

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

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

[dependencies.clap]
version = "4.5"
features = ["derive"]
optional = true

[dependencies.flexbuffers]
version = "2.0"

[dependencies.indexmap]
version = "2.12.0"

[dependencies.indicatif]
version = "0.17"
optional = true

[dependencies.nervusdb-temporal]
version = "1.0.3"
optional = true

[dependencies.ouroboros]
version = "0.18.5"

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

[dependencies.serde_json]
version = "1.0"

[dependencies.sha2]
version = "0.10"

[dependencies.time]
version = "0.3"
features = [
    "formatting",
    "parsing",
]

[dev-dependencies.rusqlite]
version = "0.31"
features = ["bundled"]

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

[target.'cfg(not(target_arch = "wasm32"))'.dependencies.half]
version = "2.7.1"
optional = true

[target.'cfg(not(target_arch = "wasm32"))'.dependencies.lru]
version = "0.16.2"

[target.'cfg(not(target_arch = "wasm32"))'.dependencies.redb]
version = "3.1.0"

[target.'cfg(not(target_arch = "wasm32"))'.dependencies.tantivy]
version = "0.25.0"
optional = true

[target.'cfg(not(target_arch = "wasm32"))'.dependencies.usearch]
version = "2.22.0"
optional = true
default-features = false