gadk-session 0.5.21

Sessions, events and the in-memory session service for gadk
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.95"
name = "gadk-session"
version = "0.5.21"
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Sessions, events and the in-memory session service for gadk"
readme = "README.md"
keywords = [
    "agent",
    "llm",
    "ai",
    "gemini",
    "adk",
]
license = "Apache-2.0"
repository = "https://github.com/sirhco/gadk-rust"

[features]
testsuite = []

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

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

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

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

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

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

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

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

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

[dependencies.futures]
version = "0.3.34"

[dependencies.gadk-genai]
version = "0.5.21"

[dependencies.gadk-model]
version = "0.5.21"

[dependencies.gadk-platform]
version = "0.5.21"

[dependencies.parking_lot]
version = "0.13.0"

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

[dependencies.serde_json]
version = "1.0.154"
features = [
    "float_roundtrip",
    "raw_value",
]

[dependencies.sha2]
version = "0.11.1"

[dependencies.thiserror]
version = "2.0.21"

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

[dev-dependencies.insta]
version = "1.49.0"
features = ["json"]

[dev-dependencies.pretty_assertions]
version = "1.4.1"

[dev-dependencies.rstest]
version = "0.28.0"

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

[lints.clippy]
expect_used = "deny"
unwrap_used = "deny"

[lints.rust]
missing_docs = "warn"
unsafe_code = "forbid"