[[example]]
name = "custom_flow"
required-features = ["hyper-rustls", "ring"]
[[example]]
name = "custom_client"
required-features = ["hyper-rustls", "service-account", "ring"]
[[example]]
name = "custom_storage"
required-features = ["hyper-rustls", "ring"]
[[test]]
name = "tests"
required-features = ["hyper-rustls", "service-account"]
[dependencies.anyhow]
version = "1.0.38"
[dependencies.async-trait]
version = "^0.1"
[dependencies.base64]
version = "0.22"
[dependencies.futures]
version = "0.3"
[dependencies.http]
version = "1"
[dependencies.http-body-util]
version = "0.1"
[dependencies.hyper]
version = "1"
[dependencies.hyper-rustls]
default-features = false
features = ["http1", "http2", "rustls-native-certs", "native-tokio"]
optional = true
version = "0.27"
[dependencies.hyper-tls]
optional = true
version = "0.6.0"
[dependencies.hyper-util]
features = ["client-legacy", "server-auto", "http1", "http2", "server-graceful"]
version = "0.1.5"
[dependencies.log]
version = "0.4"
[dependencies.percent-encoding]
version = "2"
[dependencies.rustls]
default-features = false
features = ["std"]
optional = true
version = "^0.23"
[dependencies.rustls-pemfile]
optional = true
version = "2.0.0"
[dependencies.seahash]
version = "4"
[dependencies.serde]
features = ["derive"]
version = "1.0"
[dependencies.serde_json]
version = "1.0"
[dependencies.time]
features = ["local-offset", "parsing", "serde"]
version = "0.3.7"
[dependencies.tokio]
features = ["fs", "macros", "io-std", "io-util", "time", "sync", "rt"]
version = "1.0"
[dependencies.url]
version = "2"
[dev-dependencies.env_logger]
version = "0.10"
[dev-dependencies.httptest]
version = "0.16"
[dev-dependencies.hyper-rustls]
version = "0.27"
[dev-dependencies.tempfile]
version = "3.1"
[dev-dependencies.webbrowser]
version = "0.8"
[features]
__rustls = ["dep:rustls"]
aws-lc-rs = ["rustls/aws_lc_rs", "hyper-rustls?/aws-lc-rs"]
default = ["hyper-rustls", "service-account", "ring"]
hyper-rustls = ["dep:hyper-rustls", "__rustls"]
hyper-tls = ["dep:hyper-tls", "__rustls"]
ring = ["rustls/ring", "hyper-rustls?/ring"]
service-account = ["rustls-pemfile"]
service_account = ["service-account"]
[package]
authors = ["Sebastian Thiel <byronimo@gmail.com>", "Lewin Bormann <lbo@spheniscida.de>"]
description = "An oauth2 implementation, providing the 'device', 'service account' and 'installed' authorization flows"
documentation = "https://docs.rs/yup-oauth2/"
edition = "2021"
keywords = ["google", "oauth", "oauth2"]
license = "MIT OR Apache-2.0"
name = "yup-oauth2"
readme = "README.md"
repository = "https://github.com/dermesser/yup-oauth2"
version = "11.0.0"
[package.metadata.docs.rs]
all-features = true
rustdoc-args = ["--cfg", "yup_oauth2_docsrs"]