post-cortex-memory 0.3.1

Conversation memory orchestrator for post-cortex. Ties storage + embeddings + graph + session + summary into a single lock-free memory hierarchy with async pipelines and a canonical PostCortexService API.
Documentation
# THIS FILE IS AUTOMATICALLY GENERATED BY CARGO
#
# When uploading crates to the registry Cargo will automatically
# "normalize" Cargo.toml files for maximal compatibility
# with all versions of Cargo and also rewrite `path` dependencies
# to registry (e.g., crates.io) dependencies.
#
# If you are reading this file be aware that the original Cargo.toml
# will likely look very different (and much more reasonable).
# See Cargo.toml.orig for the original contents.

[package]
edition = "2024"
rust-version = "1.90"
name = "post-cortex-memory"
version = "0.3.1"
authors = ["Julius ML"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Conversation memory orchestrator for post-cortex. Ties storage + embeddings + graph + session + summary into a single lock-free memory hierarchy with async pipelines and a canonical PostCortexService API."
documentation = "https://docs.rs/post-cortex-memory"
readme = "README.md"
keywords = [
    "post-cortex",
    "memory",
    "orchestrator",
    "conversation",
    "ai",
]
categories = [
    "data-structures",
    "concurrency",
]
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 = []
otel = [
    "dep:opentelemetry",
    "dep:opentelemetry_sdk",
    "dep:opentelemetry-otlp",
    "dep:tracing-opentelemetry",
]
surrealdb-storage = ["post-cortex-storage/surrealdb-storage"]

[lib]
name = "post_cortex_memory"
path = "src/lib.rs"

[dependencies.anyhow]
version = "1.0"

[dependencies.arc-swap]
version = "1.7"

[dependencies.async-trait]
version = "0.1"

[dependencies.atomic_float]
version = "1.1"

[dependencies.bincode]
version = "2.0.1"
features = ["serde"]

[dependencies.chrono]
version = "0.4"
features = ["serde"]

[dependencies.crossbeam-channel]
version = "0.5"

[dependencies.crossbeam-queue]
version = "0.3"

[dependencies.dashmap]
version = "6.1"

[dependencies.futures]
version = "0.3"

[dependencies.log]
version = "0.4"

[dependencies.num_cpus]
version = "1.16"

[dependencies.opentelemetry]
version = "0.27"
optional = true

[dependencies.opentelemetry-otlp]
version = "0.27"
features = [
    "grpc-tonic",
    "trace",
    "metrics",
]
optional = true

[dependencies.opentelemetry_sdk]
version = "0.27"
features = ["rt-tokio"]
optional = true

[dependencies.parking_lot]
version = "0.12"

[dependencies.post-cortex-core]
version = "0.3.1"

[dependencies.post-cortex-embeddings]
version = "0.3.1"
features = [
    "bert",
    "model2vec",
]
default-features = false

[dependencies.post-cortex-proto]
version = "0.3.1"

[dependencies.post-cortex-storage]
version = "0.3.1"

[dependencies.rand]
version = "0.9.2"

[dependencies.rayon]
version = "1.10"

[dependencies.regex]
version = "1.0"

[dependencies.schemars]
version = "1.0"

[dependencies.serde]
version = "1.0"
features = ["derive"]

[dependencies.serde_json]
version = "1.0"

[dependencies.thiserror]
version = "2.0"

[dependencies.tokio]
version = "1.42"
features = ["full"]

[dependencies.tokio-util]
version = "0.7"

[dependencies.tracing]
version = "0.1"

[dependencies.tracing-opentelemetry]
version = "0.28"
optional = true

[dependencies.uuid]
version = "1.11"
features = [
    "v4",
    "serde",
]

[dev-dependencies.proptest]
version = "1.5"

[dev-dependencies.serial_test]
version = "3.3"
features = ["async"]

[dev-dependencies.tempfile]
version = "3.0"

[dev-dependencies.tokio-stream]
version = "0.1"

[dev-dependencies.tokio-test]
version = "0.4"

[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"