[package]
edition = "2021"
rust-version = "1.75"
name = "semantic-memory"
version = "0.5.0"
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Hybrid semantic search with SQLite, FTS5, and HNSW — built for AI agents"
homepage = "https://www.github.com/recursiveintell/semantic-memory"
readme = "README.md"
keywords = [
"search",
"semantic",
"sqlite",
"hnsw",
"embeddings",
]
categories = [
"database",
"text-processing",
]
license = "Apache-2.0"
repository = "https://www.github.com/recursiveintell/semantic-memory"
[features]
brute-force = []
default = ["hnsw"]
hnsw = ["dep:hnsw_rs"]
testing = []
[lib]
name = "semantic_memory"
path = "src/lib.rs"
[[example]]
name = "basic_search"
path = "examples/basic_search.rs"
[[example]]
name = "conversation_memory"
path = "examples/conversation_memory.rs"
[[test]]
name = "brute_force_parity"
path = "tests/brute_force_parity.rs"
[[test]]
name = "chunker_tests"
path = "tests/chunker_tests.rs"
[[test]]
name = "compaction"
path = "tests/compaction.rs"
[[test]]
name = "concurrent_access"
path = "tests/concurrent_access.rs"
[[test]]
name = "conversation_search_tests"
path = "tests/conversation_search_tests.rs"
[[test]]
name = "conversation_tests"
path = "tests/conversation_tests.rs"
[[test]]
name = "db_tests"
path = "tests/db_tests.rs"
[[test]]
name = "episode_identity"
path = "tests/episode_identity.rs"
[[test]]
name = "hardening_semantics"
path = "tests/hardening_semantics.rs"
[[test]]
name = "hardening_v5"
path = "tests/hardening_v5.rs"
[[test]]
name = "hnsw_hotswap"
path = "tests/hnsw_hotswap.rs"
[[test]]
name = "hnsw_integration"
path = "tests/hnsw_integration.rs"
[[test]]
name = "hnsw_persistence"
path = "tests/hnsw_persistence.rs"
[[test]]
name = "import_boundary_tests"
path = "tests/import_boundary_tests.rs"
[[test]]
name = "import_ugly_cases"
path = "tests/import_ugly_cases.rs"
[[test]]
name = "integration_tests"
path = "tests/integration_tests.rs"
[[test]]
name = "knowledge_tests"
path = "tests/knowledge_tests.rs"
[[test]]
name = "migration_v5"
path = "tests/migration_v5.rs"
[[test]]
name = "projection_v11_tests"
path = "tests/projection_v11_tests.rs"
[[test]]
name = "quantization"
path = "tests/quantization.rs"
[[test]]
name = "quantization_pipeline"
path = "tests/quantization_pipeline.rs"
[[test]]
name = "search_tests"
path = "tests/search_tests.rs"
[[test]]
name = "step3_verification"
path = "tests/step3_verification.rs"
[[test]]
name = "step4_verification"
path = "tests/step4_verification.rs"
[[test]]
name = "storage_lifecycle"
path = "tests/storage_lifecycle.rs"
[[test]]
name = "tokenizer_tests"
path = "tests/tokenizer_tests.rs"
[[test]]
name = "trace_id_write_seam"
path = "tests/trace_id_write_seam.rs"
[[test]]
name = "vector_only_hnsw"
path = "tests/vector_only_hnsw.rs"
[dependencies.bytemuck]
version = "1"
features = ["derive"]
[dependencies.chrono]
version = "0.4.44"
features = ["serde"]
[dependencies.forge-memory-bridge]
version = "0.1.1"
[dependencies.hnsw_rs]
version = "0.3"
optional = true
[dependencies.reqwest]
version = "0.12"
features = [
"json",
"rustls-tls",
]
default-features = false
[dependencies.rusqlite]
version = "0.32.1"
features = [
"bundled",
"blob",
]
[dependencies.schemars]
version = "0.8.22"
[dependencies.serde]
version = "1.0.228"
features = ["derive"]
[dependencies.serde_json]
version = "1.0.149"
[dependencies.stack-ids]
version = "0.1.1"
[dependencies.thiserror]
version = "2.0.18"
[dependencies.tokio]
version = "1.50.0"
features = [
"rt",
"macros",
"sync",
]
[dependencies.tracing]
version = "0.1.44"
[dependencies.uuid]
version = "1.22.0"
features = ["v4"]
[dev-dependencies.semantic-memory-forge]
version = "0.1.1"
[dev-dependencies.tempfile]
version = "3.27.0"
[dev-dependencies.tokio]
version = "1.50.0"
features = [
"rt-multi-thread",
"macros",
]
[lints.clippy]
dbg_macro = "deny"
todo = "deny"
unimplemented = "deny"
[lints.clippy.expect_used]
level = "warn"
priority = -1
[lints.rust]
unsafe_code = "deny"