greentic-session 0.2.0

Greentic multi-tenant session manager with in-memory and Redis backends
Documentation
[[bench]]
harness = false
name = "session_ops"
path = "benches/session_ops.rs"

[[bin]]
name = "greentic-session"
path = "src/main.rs"

[dependencies.dashmap]
version = "6"

[dependencies.greentic-interfaces]
optional = true
version = "^0.4"

[dependencies.greentic-types]
version = "^0.2"

[dependencies.hex]
version = "0.4"

[dependencies.parking_lot]
version = "0.12"

[dependencies.redis]
features = ["tokio-comp"]
optional = true
version = "0.32"

[dependencies.schemars]
optional = true
version = "1"

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

[dependencies.serde_json]
version = "1"

[dependencies.sha2]
version = "0.10"

[dependencies.thiserror]
version = "2"

[dependencies.time]
features = ["serde", "parsing"]
version = "0.3"

[dependencies.tokio]
features = ["rt-multi-thread", "time", "macros"]
optional = true
version = "1"

[dependencies.tracing]
version = "0.1"

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

[dev-dependencies.criterion]
features = ["async"]
version = "0.7"

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

[dev-dependencies.serde_json]
version = "1"

[dev-dependencies.tokio]
features = ["rt-multi-thread", "time", "macros"]
version = "1"

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

[features]
default = ["redis"]
inmemory = []
interfaces = ["dep:greentic-interfaces"]
redis = ["dep:redis", "dep:tokio"]
schema = ["dep:schemars"]

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

[package]
autobenches = false
autobins = false
autoexamples = false
autolib = false
autotests = false
build = false
categories = ["data-structures", "asynchronous"]
description = "Greentic multi-tenant session manager with in-memory and Redis backends"
edition = "2024"
keywords = ["greentic", "session", "multi-tenant", "redis"]
license = "MIT"
name = "greentic-session"
readme = "README.md"
repository = "https://github.com/greentic-ai/greentic-session"
rust-version = "1.88"
version = "0.2.0"

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

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

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

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