thingd 0.76.0

Core primitives for thingd, an object-shaped local memory engine for apps and agents.
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"
rust-version = "1.96"
name = "thingd"
version = "0.76.0"
build = false
exclude = ["examples/"]
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Core primitives for thingd, an object-shaped local memory engine for apps and agents."
readme = "README.md"
keywords = [
    "ai",
    "memory",
    "mcp",
    "database",
    "persistence",
]
categories = [
    "database-implementations",
    "caching",
]
license = "Apache-2.0"
repository = "https://github.com/sayanmohsin/thingd"
resolver = "2"

[package.metadata.docs.rs]
features = ["persistent"]
rustdoc-args = [
    "--cfg",
    "docsrs",
]

[features]
connectors = [
    "dep:csv",
    "dep:sqlx",
    "dep:tokio",
]
default = [
    "persistent",
    "search",
]
persistent = [
    "dep:fjall",
    "dep:chacha20poly1305",
    "dep:getrandom",
    "dep:hkdf",
    "dep:hmac",
    "dep:sha2",
]
search = ["dep:tantivy"]
vectors = []

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

[dependencies.chacha20poly1305]
version = "0.10"
optional = true

[dependencies.chrono]
version = "0.4.45"

[dependencies.csv]
version = "1.4"
optional = true

[dependencies.fjall]
version = "3.1.8"
optional = true

[dependencies.getrandom]
version = "0.3"
optional = true

[dependencies.hkdf]
version = "0.12"
optional = true

[dependencies.hmac]
version = "0.12"
optional = true

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

[dependencies.serde_json]
version = "1.0.151"

[dependencies.sha2]
version = "0.10"
optional = true

[dependencies.sqlx]
version = "0.8"
features = [
    "runtime-tokio",
    "tls-rustls-ring",
    "postgres",
    "mysql",
]
optional = true
default-features = false

[dependencies.tantivy]
version = "0.26.1"
optional = true

[dependencies.tokio]
version = "1"
features = [
    "rt",
    "macros",
]
optional = true

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

[lints.clippy]
module_name_repetitions = "allow"
multiple_crate_versions = "allow"
must_use_candidate = "allow"

[lints.clippy.all]
level = "warn"
priority = -1

[lints.clippy.cargo]
level = "warn"
priority = -1

[lints.clippy.nursery]
level = "warn"
priority = -1

[lints.clippy.pedantic]
level = "warn"
priority = -1

[lints.rust]
missing_docs = "warn"
unreachable_pub = "warn"
unsafe_code = "forbid"
unused_crate_dependencies = "warn"

[lints.rust.rust_2018_idioms]
level = "warn"
priority = -1