adk-session 0.3.0

Session management and state persistence for Rust Agent Development Kit (ADK-Rust) agents
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.0"
name = "adk-session"
version = "0.3.0"
authors = ["James Karanja Maina <james.karanja@zavora.ai>"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Session management and state persistence for Rust Agent Development Kit (ADK-Rust) agents"
documentation = "https://docs.rs/adk-session"
readme = "README.md"
keywords = [
    "ai",
    "agent",
    "adk",
    "session",
    "state",
]
categories = [
    "api-bindings",
    "asynchronous",
]
license = "Apache-2.0"
repository = "https://github.com/zavora-ai/adk-rust"
resolver = "2"

[features]
database = ["sqlx"]
default = []
vertex-session = [
    "google-cloud-auth",
    "reqwest",
]

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

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

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

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

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

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

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

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

[dependencies.adk-core]
version = "0.3.0"

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

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

[dependencies.google-cloud-auth]
version = "1.4"
optional = true

[dependencies.reqwest]
version = "0.12"
features = [
    "json",
    "stream",
    "rustls-tls",
]
optional = true
default-features = false

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

[dependencies.serde_json]
version = "1.0"

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

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

[dev-dependencies.axum]
version = "0.8"

[dev-dependencies.tokio]
version = "1.40"
features = ["full"]