# 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 = "2018" name = "oauth2" version = "4.2.0" authors = [ "Alex Crichton ", "Florin Lipan ", "David A. Ramos ", ] description = "An extensible, strongly-typed implementation of OAuth2" readme = "README.md" license = "MIT/Apache-2.0" repository = "https://github.com/ramosbugs/oauth2-rs" [package.metadata.docs.rs] all-features = true [dependencies.base64] version = "0.13" [dependencies.chrono] version = "0.4" features = [ "clock", "serde", "std", ] default-features = false [dependencies.http] version = "0.2" [dependencies.rand] version = "0.8" [dependencies.reqwest] version = "0.11" features = ["blocking"] 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" [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.6.3" [dev-dependencies.hex] version = "0.4" [dev-dependencies.hmac] version = "0.12" [dev-dependencies.tokio] version = "1.0" features = ["full"] [dev-dependencies.uuid] version = "0.8" features = ["v4"] [features] default = [ "reqwest", "rustls-tls", ] native-tls = ["reqwest/native-tls"] pkce-plain = [] rustls-tls = ["reqwest/rustls-tls"] [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"