mcp-usage-store 0.5.0

Distributed task-attribution stores for UsageKit for MCP.
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.88"
name = "mcp-usage-store"
version = "0.5.0"
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Distributed task-attribution stores for UsageKit for MCP."
homepage = "https://pokitappz.github.io/mcp-usage-kit/"
documentation = "https://docs.rs/mcp-usage-store"
readme = "README.md"
keywords = [
    "mcp",
    "billing",
    "metering",
    "tower",
    "json-rpc",
]
categories = [
    "asynchronous",
    "network-programming",
    "web-programming::http-server",
]
license = "Apache-2.0"
repository = "https://github.com/pokitappz/mcp-usage-kit"

[package.metadata.docs.rs]
all-features = true

[features]
default = []
postgres = [
    "dep:sqlx",
    "dep:tokio",
]
redis = [
    "dep:redis",
    "dep:tokio",
]

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

[[test]]
name = "backends"
path = "tests/backends.rs"

[dependencies.mcp-usage-core]
version = "0.5.0"

[dependencies.mcp-usage-tower]
version = "0.5.0"

[dependencies.redis]
version = "1.5.0"
features = [
    "connection-manager",
    "tokio-rustls-comp",
]
optional = true
default-features = false

[dependencies.sha2]
version = "0.11.0"

[dependencies.sqlx]
version = "0.8.6"
features = [
    "postgres",
    "runtime-tokio",
    "tls-rustls-aws-lc-rs",
]
optional = true
default-features = false

[dependencies.thiserror]
version = "2.0.18"

[dependencies.tokio]
version = "1.53.0"
features = [
    "io-util",
    "macros",
    "net",
    "rt-multi-thread",
    "signal",
    "sync",
    "time",
]
optional = true

[dev-dependencies.tokio]
version = "1.53.0"
features = [
    "io-util",
    "macros",
    "net",
    "rt-multi-thread",
    "signal",
    "sync",
    "time",
]