# 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" rust-version = "1.65" name = "oauth2" version = "5.0.0-rc.1" authors = [ "Alex Crichton ", "Florin Lipan ", "David A. Ramos ", ] description = "An extensible, strongly-typed implementation of OAuth2" readme = "README.md" license = "MIT OR Apache-2.0" repository = "https://github.com/ramosbugs/oauth2-rs" [package.metadata.docs.rs] all-features = true [[example]] name = "github" required-features = ["reqwest-blocking"] [[example]] name = "google" required-features = ["reqwest-blocking"] [[example]] name = "google_devicecode" required-features = ["reqwest-blocking"] [[example]] name = "letterboxd" required-features = ["reqwest-blocking"] [[example]] name = "msgraph" required-features = ["reqwest-blocking"] [[example]] name = "wunderlist" required-features = ["reqwest-blocking"] [dependencies.base64] version = ">= 0.21, <0.23" [dependencies.chrono] version = "0.4.31" features = [ "clock", "serde", "std", "wasmbind", ] default-features = false [dependencies.http] version = "1.0" [dependencies.rand] version = "0.8" [dependencies.reqwest] version = "0.12" optional = true default-features = false [dependencies.serde] version = "1.0" features = ["derive"] [dependencies.serde_json] version = "1.0" [dependencies.serde_path_to_error] version = "0.1.2" [dependencies.sha2] version = "0.10" [dependencies.thiserror] version = "1.0" [dependencies.ureq] version = "2" optional = true [dependencies.url] version = "2.1" features = ["serde"] [dev-dependencies.anyhow] version = "1.0" [dev-dependencies.async-std] version = "1.13" [dev-dependencies.hex] version = "0.4" [dev-dependencies.hmac] version = "0.12" [dev-dependencies.tokio] version = "1.0" features = ["full"] [dev-dependencies.uuid] version = "1.10" features = ["v4"] [features] default = [ "reqwest", "rustls-tls", ] native-tls = ["reqwest/native-tls"] pkce-plain = [] reqwest-blocking = ["reqwest/blocking"] rustls-tls = ["reqwest/rustls-tls"] timing-resistant-secret-traits = [] [target."cfg(not(target_arch = \"wasm32\"))".dependencies.curl] version = "0.4.0" optional = true [target."cfg(target_arch = \"wasm32\")".dependencies.getrandom] version = "0.2" features = ["js"] [badges.maintenance] status = "actively-developed"