[package]
edition = "2021"
rust-version = "1.75"
name = "semantic-memory"
version = "0.3.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://github.com/RecursiveIntell/semantic-memory"
readme = "README.md"
keywords = [
"search",
"semantic",
"sqlite",
"hnsw",
"embeddings",
]
categories = [
"database",
"text-processing",
]
license = "MIT"
repository = "https://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 = "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 = "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 = "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 = "storage_lifecycle"
path = "tests/storage_lifecycle.rs"
[[test]]
name = "tokenizer_tests"
path = "tests/tokenizer_tests.rs"
[[test]]
name = "vector_only_hnsw"
path = "tests/vector_only_hnsw.rs"
[dependencies.bytemuck]
version = "1"
features = ["derive"]
[dependencies.chrono]
version = "0.4"
features = ["serde"]
[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"
features = [
"bundled",
"blob",
]
[dependencies.serde]
version = "1"
features = ["derive"]
[dependencies.serde_json]
version = "1"
[dependencies.thiserror]
version = "2"
[dependencies.tokio]
version = "1"
features = [
"rt",
"macros",
]
[dependencies.tracing]
version = "0.1"
[dependencies.uuid]
version = "1"
features = ["v4"]
[dev-dependencies.tempfile]
version = "3"
[dev-dependencies.tokio]
version = "1"
features = [
"rt-multi-thread",
"macros",
]