[package]
edition = "2024"
rust-version = "1.96"
name = "thingd"
version = "0.68.4"
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",
"lsm",
]
categories = [
"database-implementations",
"caching",
]
license = "Apache-2.0"
repository = "https://github.com/sayanmohsin/thingd"
resolver = "2"
[package.metadata.docs.rs]
features = ["fjall"]
rustdoc-args = [
"--cfg",
"docsrs",
]
[features]
connectors = [
"dep:csv",
"dep:sqlx",
"dep:tokio",
]
default = [
"fjall",
"search",
]
fjall = ["dep:fjall"]
search = ["dep:tantivy"]
vectors = []
[lib]
name = "thingd"
path = "src/lib.rs"
[dependencies.chrono]
version = "0.4.45"
[dependencies.csv]
version = "1.4"
optional = true
[dependencies.fjall]
version = "3.1.8"
optional = true
[dependencies.serde]
version = "1.0.229"
features = ["derive"]
[dependencies.serde_json]
version = "1.0.151"
[dependencies.sqlx]
version = "0.8"
features = [
"runtime-tokio",
"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