# 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"
name = "arbiter-storage"
version = "0.0.11"
authors = ["Cyrene Ireland"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Storage abstraction layer for Arbiter: async traits with pluggable backends"
homepage = "https://cyrenei.github.io/arbiter-mcp-firewall"
readme = false
keywords = [
    "mcp",
    "firewall",
    "proxy",
    "security",
    "ai-agent",
]
categories = [
    "authentication",
    "network-programming",
]
license = "Apache-2.0"
repository = "https://github.com/cyrenei/arbiter-mcp-firewall"
resolver = "2"

[features]
default = []
sqlite = ["sqlx"]

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

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

[dependencies.aes-gcm]
version = "0.10"

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

[dependencies.base64]
version = "0.22"

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

[dependencies.rand]
version = "0.8"

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

[dependencies.serde_json]
version = "1"

[dependencies.sqlx]
version = "0.8"
features = [
    "runtime-tokio",
    "sqlite",
    "chrono",
    "uuid",
]
optional = true

[dependencies.thiserror]
version = "2"

[dependencies.tokio]
version = "1"
features = [
    "sync",
    "time",
    "rt",
]

[dependencies.tracing]
version = "0.1"

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

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

[dev-dependencies.tokio]
version = "1"
features = [
    "full",
    "test-util",
]
