# 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" name = "inth-oauth2-async" version = "0.19.0" authors = [ "Curtis McEnroe ", "Bill Fraser ", ] description = "OAuth2 client" readme = "README.md" keywords = [ "authentication", "authorization", "auth", "oauth", ] license = "ISC" repository = "https://github.com/wfraser/inth-oauth2-async" [[example]] name = "github" required-features = ["reqwest-client"] [[example]] name = "google-web" required-features = ["reqwest-client"] [[example]] name = "google-installed" required-features = ["reqwest-client"] [[example]] name = "imgur" required-features = ["reqwest-client"] [[test]] name = "auth_uri" required-features = ["reqwest-client"] [[test]] name = "hyper-client" required-features = ["hyper-client"] [dependencies.async-trait] version = "0.1.50" [dependencies.base64] version = "0.13" optional = true [dependencies.http-body-util] version = "0.1.0" optional = true [dependencies.hyper] version = "1.0" optional = true [dependencies.hyper-util] version = "0.1.0" features = [ "client-legacy", "http1", "http2", ] optional = true [dependencies.lazy_static] version = "1.1.0" [dependencies.reqwest] version = "0.11.3" optional = true [dependencies.serde] version = "1.0.8" [dependencies.serde_derive] version = "1.0.5" [dependencies.serde_json] version = "1.0.2" [dependencies.tokio] version = "1.7" optional = true [dependencies.tower-service] version = "0.3.1" optional = true [dependencies.url] version = "2.2.2" [dev-dependencies.hyper-tls] version = "0.6.0" [dev-dependencies.hyper-util] version = "0.1.0" features = ["tokio"] [dev-dependencies.tokio] version = "1" features = [ "macros", "rt-multi-thread", ] [features] default = ["reqwest-client"] hyper-client = [ "base64", "http-body-util", "hyper/client", "hyper/http1", "hyper/http2", "hyper-util", "tokio", "tower-service", ] reqwest-client = ["reqwest"]