gadk-model 0.5.21

The gadk LLM abstraction: the Llm trait, model registry, HTTP seam and REST transport
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-model"
version = "0.5.21"
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "The gadk LLM abstraction: the Llm trait, model registry, HTTP seam and REST transport"
readme = "README.md"
keywords = [
    "agent",
    "llm",
    "ai",
    "gemini",
    "adk",
]
license = "Apache-2.0"
repository = "https://github.com/sirhco/gadk-rust"

[features]
gcp-auth = ["dep:google-cloud-auth"]
test-util = [
    "dep:hyper",
    "dep:hyper-util",
    "gcp-auth",
]

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

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

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

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

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

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

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

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

[dependencies.bytes]
version = "1.12.1"
features = ["serde"]

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

[dependencies.futures]
version = "0.3.34"

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

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

[dependencies.http]
version = "1.5.0"

[dependencies.hyper]
version = "1.12.0"
features = [
    "server",
    "http1",
]
optional = true
default-features = false

[dependencies.hyper-util]
version = "0.1.21"
features = [
    "tokio",
    "service",
]
optional = true
default-features = false

[dependencies.parking_lot]
version = "0.13.0"

[dependencies.rand]
version = "0.10.3"

[dependencies.regex]
version = "1.13.1"

[dependencies.reqwest]
version = "0.13.5"
features = [
    "json",
    "stream",
    "http2",
    "rustls",
    "charset",
    "system-proxy",
]
default-features = false

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

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

[dependencies.thiserror]
version = "2.0.21"

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

[dependencies.tracing]
version = "0.1.44"

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

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

[dev-dependencies.tempfile]
version = "3.27.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"