greentic-session 0.4.8

Greentic multi-tenant session manager with in-memory and Redis backends
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.91"
name = "greentic-session"
version = "0.4.8"
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Greentic multi-tenant session manager with in-memory and Redis backends"
readme = "README.md"
keywords = [
    "greentic",
    "session",
    "multi-tenant",
    "redis",
]
categories = [
    "data-structures",
    "asynchronous",
]
license = "MIT"
repository = "https://github.com/greenticai/greentic-session"

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

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

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

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

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

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

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

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

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

[dependencies.greentic-types]
version = "0.4"

[dependencies.hex]
version = "0.4"

[dependencies.parking_lot]
version = "0.12"

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

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

[dependencies.serde_json]
version = "1"

[dependencies.sha2]
version = "0.10"

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

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

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