[package]
edition = "2024"
rust-version = "1.90"
name = "post-cortex"
version = "0.3.1"
authors = ["Julius ML"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Intelligent conversation memory system for AI assistants — persistent knowledge storage, semantic search, knowledge graph, MCP + gRPC transports. Facade crate re-exporting the post-cortex workspace stack."
documentation = "https://docs.rs/post-cortex"
readme = "README.md"
keywords = [
"conversation",
"memory",
"semantic-search",
"mcp",
"ai",
]
categories = [
"data-structures",
"database-implementations",
]
license = "MIT"
repository = "https://github.com/juliusbiascan/post-cortex"
resolver = "2"
[package.metadata.docs.rs]
all-features = true
rustdoc-args = [
"--cfg",
"docsrs",
]
[features]
default = ["embeddings"]
embeddings = [
"post-cortex-memory/embeddings",
"post-cortex-mcp/embeddings",
"post-cortex-daemon/embeddings",
]
otel = []
surrealdb-storage = [
"post-cortex-memory/surrealdb-storage",
"post-cortex-daemon/surrealdb-storage",
]
surrealdb-tikv = [
"surrealdb-storage",
"post-cortex-storage/surrealdb-tikv",
]
[lib]
name = "post_cortex"
path = "src/lib.rs"
[[test]]
name = "integration_admin_tasks"
path = "tests/integration_admin_tasks.rs"
[[test]]
name = "integration_daemon"
path = "tests/integration_daemon.rs"
[[test]]
name = "integration_e2e_surrealdb"
path = "tests/integration_e2e_surrealdb.rs"
[[test]]
name = "integration_grpc"
path = "tests/integration_grpc.rs"
[[test]]
name = "integration_unified_search"
path = "tests/integration_unified_search.rs"
[[test]]
name = "integration_workspace"
path = "tests/integration_workspace.rs"
[[test]]
name = "property_vector_db"
path = "tests/property_vector_db.rs"
[[test]]
name = "test_direct_encoding"
path = "tests/test_direct_encoding.rs"
[[test]]
name = "test_embedding_similarity"
path = "tests/test_embedding_similarity.rs"
[[test]]
name = "test_mcp_format"
path = "tests/test_mcp_format.rs"
[[test]]
name = "test_mcp_type_coercion"
path = "tests/test_mcp_type_coercion.rs"
[[test]]
name = "test_mcp_validation"
path = "tests/test_mcp_validation.rs"
[[test]]
name = "test_recency_bias"
path = "tests/test_recency_bias.rs"
[[bench]]
name = "query_cache_bench"
path = "benches/query_cache_bench.rs"
harness = false
[dependencies.post-cortex-core]
version = "0.3.1"
[dependencies.post-cortex-daemon]
version = "0.3.1"
[dependencies.post-cortex-embeddings]
version = "0.3.1"
features = ["bert"]
default-features = false
[dependencies.post-cortex-mcp]
version = "0.3.1"
[dependencies.post-cortex-memory]
version = "0.3.1"
[dependencies.post-cortex-proto]
version = "0.3.1"
[dependencies.post-cortex-storage]
version = "0.3.1"
[dev-dependencies.anyhow]
version = "1.0"
[dev-dependencies.arc-swap]
version = "1.7"
[dev-dependencies.async-trait]
version = "0.1"
[dev-dependencies.axum]
version = "0.8"
[dev-dependencies.chrono]
version = "0.4"
features = ["serde"]
[dev-dependencies.criterion]
version = "0.8.1"
[dev-dependencies.futures]
version = "0.3"
[dev-dependencies.hyper]
version = "1.5"
[dev-dependencies.portpicker]
version = "0.1"
[dev-dependencies.proptest]
version = "1.5"
[dev-dependencies.prost]
version = "0.13"
[dev-dependencies.reqwest]
version = "0.12"
features = ["json"]
[dev-dependencies.schemars]
version = "1.0"
[dev-dependencies.serde]
version = "1.0"
features = ["derive"]
[dev-dependencies.serde_json]
version = "1.0"
[dev-dependencies.serial_test]
version = "3.3"
features = ["async"]
[dev-dependencies.tempfile]
version = "3.0"
[dev-dependencies.tokio]
version = "1.42"
features = ["full"]
[dev-dependencies.tokio-stream]
version = "0.1"
[dev-dependencies.tokio-test]
version = "0.4"
[dev-dependencies.tonic]
version = "0.12"
[dev-dependencies.tower]
version = "0.5"
[dev-dependencies.tower-http]
version = "0.6"
features = [
"cors",
"trace",
]
[dev-dependencies.tracing]
version = "0.1"
[dev-dependencies.tracing-subscriber]
version = "0.3"
features = [
"fmt",
"json",
"env-filter",
]
[dev-dependencies.uuid]
version = "1.11"
features = [
"v4",
"serde",
]
[lints.clippy]
doc_lazy_continuation = "allow"
field_reassign_with_default = "allow"
manual_checked_ops = "allow"
manual_div_ceil = "allow"
needless_range_loop = "allow"
result_large_err = "allow"
too_many_arguments = "allow"
type_complexity = "allow"
unnecessary_sort_by = "allow"
useless_vec = "allow"
[lints.rust]
missing_docs = "warn"