# 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 = "2021"
name = "gemini_client_rs"
version = "0.9.0"
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "A Rust SDK for the Google Gemini API"
readme = "README.md"
license = "MIT"
repository = "https://github.com/Adriftdev/gemini-client"

[features]
default = []
tracing = ["dep:tracing"]

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

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

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

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

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

[dependencies.async-stream]
version = "0.3"
default-features = false

[dependencies.async-trait]
version = "0.1"
default-features = false

[dependencies.futures-util]
version = "0.3"
default-features = false

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

[dependencies.reqwest-eventsource]
version = "0.6"
default-features = false

[dependencies.serde]
version = "1"
features = ["derive"]
default-features = false

[dependencies.serde_json]
version = "1"
default-features = false

[dependencies.thiserror]
version = "2"
default-features = false

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

[dependencies.tracing]
version = "0.1"
optional = true
default-features = false

[dev-dependencies.dotenvy]
version = "0.15"

[dev-dependencies.tracing-subscriber]
version = "0.3"
features = [
    "fmt",
    "registry",
]
default-features = false
