[package]
name = "meerkat-gemini"
description = "Google Gemini vertical for Meerkat: LLM client, provider runtime, catalog, capabilities, profile, and Code Assist OAuth + ADC backends."
version.workspace = true
edition.workspace = true
rust-version.workspace = true
license.workspace = true
authors.workspace = true
repository.workspace = true
homepage.workspace = true
documentation.workspace = true
keywords.workspace = true
categories.workspace = true

[dependencies]
meerkat-core = { workspace = true }
meerkat-llm-core = { workspace = true }
# meerkat-auth-core's resolver is wasm-compatible; needed so the
# provider runtime can resolve inline-secret bindings in the browser
# (Cluster C in the smoke-fix track).
meerkat-auth-core = { workspace = true }
serde = { workspace = true }
serde_json = { workspace = true }
thiserror = { workspace = true }
futures = { workspace = true }
async-trait = { workspace = true }
async-stream = { workspace = true }
chrono = { workspace = true }
indexmap = "2"

[target.'cfg(not(target_arch = "wasm32"))'.dependencies]
reqwest = { workspace = true }
base64 = { workspace = true }
tokio = { workspace = true, features = ["time"] }

[target.'cfg(target_arch = "wasm32")'.dependencies]
tokio_with_wasm = { workspace = true }
reqwest = { version = "0.12", default-features = false, features = ["json", "stream"] }
getrandom = { version = "0.3", features = ["wasm_js"] }

[dev-dependencies]
meerkat-models = { workspace = true }
tempfile = { workspace = true }
meerkat-runtime = { workspace = true }
meerkat-auth-core = { workspace = true, features = ["oauth", "gcp-auth"] }
tokio = { workspace = true, features = ["test-util", "macros"] }
axum = { workspace = true }

[features]
default = ["oauth", "adc"]
oauth = ["meerkat-auth-core/oauth"]
adc = ["meerkat-auth-core/gcp-auth"]

[package.metadata.cargo-machete]
ignored = ["getrandom", "base64", "indexmap", "tempfile"]

[lints]
workspace = true
