[package] description = "HTTP Client for Google OAuth2" name = "gauth" version = "0.8.0" authors = ["Simon Makarski "] edition = "2021" license = "MIT OR Apache-2.0" readme = "README.md" repository = "https://github.com/makarski/gauth-rs" keywords = ["google-oauth2", "google", "auth", "gcp"] categories = ["api-bindings", "authentication"] [dependencies] async-trait = { version = "0.1.79", optional = true } url = "^2.4.1" serde = "1" serde_json = "1" serde_derive = "1" dirs = "5.0.1" reqwest = { version = "0.11", features = ["json"] } chrono = "0.4.31" base64 = "0.21.3" ring = "0.16.20" thiserror = "1.0.48" anyhow = "1.0.40" futures = { version = "0.3", features = ["executor"], optional = true } tokio = { version = "1.33.0", optional = true } log = { version = "0.4", optional = true } [dev-dependencies] mockito = "1.2.0" tokio = { version = "1.33.0", features = ["test-util"] } env_logger = "0.10.0" [features] app-blocking = ["dep:futures"] token-watcher = ["dep:tokio", "dep:async-trait", "dep:log"]