# 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.57.0" name = "oauth-client" version = "0.8.0" authors = ["gifnksm "] description = "OAuth client for Rust" readme = "README.md" license = "MIT OR Apache-2.0" repository = "https://github.com/gifnksm/oauth-client-rs" resolver = "2" [package.metadata.docs.rs] all-features = true rustdoc-args = [ "--cfg", "docsrs", ] [[package.metadata.release.pre-release-replacements]] file = "README.md" search = 'oauth-client = "[0-9\.]+"' replace = "{{crate_name}} = \"{{version}}\"" [dependencies.base64] version = "0.13.0" [dependencies.http] version = "0.2.8" [dependencies.lazy_static] version = "1.4.0" optional = true [dependencies.log] version = "0.4.17" [dependencies.percent-encoding] version = "2.1.0" [dependencies.rand] version = "0.8.5" [dependencies.reqwest] version = "0.11.11" optional = true [dependencies.ring] version = "0.16.20" [dependencies.thiserror] version = "1.0.31" [dependencies.time] version = "0.3.11" [dependencies.url] version = "2.2.2" optional = true [dev-dependencies.simple_logger] version = "2.2.0" [dev-dependencies.tokio] version = "1.20.0" features = [ "rt", "macros", ] [features] client-reqwest = ["reqwest"] default = [ "client-reqwest", "reqwest-blocking", ] reqwest-blocking = [ "client-reqwest", "reqwest/blocking", "lazy_static", "url", ] [badges.maintenance] status = "passively-maintained"