[package]
edition = "2024"
rust-version = "1.96"
name = "thingd"
version = "0.50.1"
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",
"sqlite",
"database",
]
categories = [
"database-implementations",
"caching",
]
license = "Apache-2.0"
repository = "https://github.com/sayanmohsin/thingd"
resolver = "2"
[package.metadata.docs.rs]
features = ["sqlite"]
rustdoc-args = [
"--cfg",
"docsrs",
]
[features]
connectors = [
"dep:csv",
"dep:sqlx",
"dep:tokio",
]
default = []
sqlite = [
"dep:rusqlite",
"dep:uuid",
]
[lib]
name = "thingd"
path = "src/lib.rs"
[dependencies.chrono]
version = "0.4.45"
[dependencies.csv]
version = "1.4"
optional = true
[dependencies.rusqlite]
version = "0.40.1"
features = ["bundled"]
optional = true
[dependencies.serde]
version = "1"
features = ["derive"]
[dependencies.serde_json]
version = "1.0.150"
[dependencies.sqlx]
version = "0.8"
features = [
"runtime-tokio",
"postgres",
"mysql",
]
optional = true
default-features = false
[dependencies.tokio]
version = "1"
features = [
"rt",
"macros",
]
optional = true
[dependencies.uuid]
version = "1"
features = ["v4"]
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