indra_db 0.1.10

A content-addressed graph database for versioned thoughts
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 = "indra_db"
version = "0.1.10"
authors = ["moonstripe <moonstripe@protonmail.com>"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "A content-addressed graph database for versioned thoughts"
homepage = "https://github.com/moonstripe/indra_db"
documentation = "https://docs.rs/indra_db"
readme = "README.md"
keywords = [
    "database",
    "graph",
    "versioning",
    "knowledge-graph",
    "embeddings",
]
categories = [
    "database",
    "data-structures",
    "command-line-utilities",
]
license = "MIT"
repository = "https://github.com/moonstripe/indra_db"

[features]
api-embeddings = [
    "reqwest",
    "tokio",
]
default = [
    "hf-embeddings",
    "sync",
]
hf-embeddings = [
    "candle-core",
    "candle-nn",
    "candle-transformers",
    "hf-hub",
    "tokenizers",
    "tokio",
]
mock-embeddings = []
sync = [
    "reqwest",
    "tokio",
]

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

[[bin]]
name = "indra"
path = "src/main.rs"

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

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

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

[dependencies.anyhow]
version = "1.0"

[dependencies.bincode]
version = "1.3"

[dependencies.blake3]
version = "1.5"

[dependencies.bytes]
version = "1.5"

[dependencies.candle-core]
version = "0.8"
optional = true

[dependencies.candle-nn]
version = "0.8"
optional = true

[dependencies.candle-transformers]
version = "0.8"
optional = true

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

[dependencies.dirs]
version = "5.0"

[dependencies.hex]
version = "0.4"

[dependencies.hf-hub]
version = "0.4"
features = [
    "tokio",
    "rustls-tls",
]
optional = true
default-features = false

[dependencies.memmap2]
version = "0.9"

[dependencies.open]
version = "5.0"

[dependencies.parking_lot]
version = "0.12"

[dependencies.reqwest]
version = "0.12"
features = [
    "json",
    "blocking",
    "rustls-tls",
]
optional = true
default-features = false

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

[dependencies.serde_json]
version = "1.0"

[dependencies.thiserror]
version = "1.0"

[dependencies.tokenizers]
version = "0.21"
optional = true

[dependencies.tokio]
version = "1.42"
features = ["full"]
optional = true

[dependencies.zstd]
version = "0.13"

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

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

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