post-cortex-daemon 0.3.0

HTTP / gRPC / SSE / stdio daemon for post-cortex. Hosts the rmcp Model Context Protocol surface, the tonic gRPC API, and ships the `pcx` CLI binary.
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.85"
name = "post-cortex-daemon"
version = "0.3.0"
authors = ["Julius ML"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "HTTP / gRPC / SSE / stdio daemon for post-cortex. Hosts the rmcp Model Context Protocol surface, the tonic gRPC API, and ships the `pcx` CLI binary."
documentation = "https://docs.rs/post-cortex-daemon"
readme = "README.md"
keywords = [
    "post-cortex",
    "daemon",
    "grpc",
    "mcp",
    "axum",
]
categories = [
    "command-line-utilities",
    "database",
    "web-programming::http-server",
]
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",
]
otel = ["post-cortex-memory/otel"]
surrealdb-storage = ["post-cortex-memory/surrealdb-storage"]
surrealdb-tikv = [
    "surrealdb-storage",
    "post-cortex-storage/surrealdb-tikv",
]

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

[[bin]]
name = "pcx"
path = "src/bin/pcx.rs"

[[example]]
name = "with_otel"
path = "examples/with_otel.rs"

[dependencies.anyhow]
version = "1.0"

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

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

[dependencies.axum]
version = "0.8"

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

[dependencies.clap]
version = "4.5"
features = ["derive"]

[dependencies.dashmap]
version = "6.1"

[dependencies.dialoguer]
version = "0.11"

[dependencies.dirs]
version = "6.0.0"

[dependencies.env_logger]
version = "0.11"

[dependencies.flate2]
version = "1.0"

[dependencies.futures]
version = "0.3"

[dependencies.hyper]
version = "1.5"

[dependencies.log]
version = "0.4"

[dependencies.parking_lot]
version = "0.12"

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

[dependencies.post-cortex-embeddings]
version = "0.3.0"
features = ["bert"]
default-features = false

[dependencies.post-cortex-mcp]
version = "0.3.0"

[dependencies.post-cortex-memory]
version = "0.3.0"

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

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

[dependencies.prost]
version = "0.13"

[dependencies.prost-types]
version = "0.13"

[dependencies.regex]
version = "1.0"

[dependencies.reqwest]
version = "0.12"
features = ["json"]

[dependencies.rmcp]
version = "0.12.0"
features = [
    "server",
    "transport-streamable-http-server",
]

[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.toml]
version = "0.9.10"

[dependencies.tonic]
version = "0.12"

[dependencies.tower]
version = "0.5"

[dependencies.tower-http]
version = "0.6"
features = [
    "cors",
    "trace",
]

[dependencies.tracing]
version = "0.1"

[dependencies.tracing-appender]
version = "0.2"

[dependencies.tracing-subscriber]
version = "0.3"
features = [
    "fmt",
    "json",
    "env-filter",
]

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

[dependencies.zstd]
version = "0.13"

[dev-dependencies.portpicker]
version = "0.1"

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