# 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 = "oauth-lib" version = "1.0.0" authors = ["soywod "] description = "Asynchronous Rust library to deal with OAuth flows" homepage = "https://pimalaya.org/" documentation = "https://docs.rs/oauth-lib/latest/oauth/" readme = "README.md" keywords = [ "oauth", "oauth2", "authorization", "xoauth2", "oauthbearer", ] categories = [ "asynchronous", "authentication", "network-programming", ] license = "MIT" repository = "https://github.com/pimalaya/core/tree/master/oauth/" [package.metadata.docs.rs] features = [] rustdoc-args = [ "--cfg", "docsrs", ] [lib] name = "oauth" [dependencies.async-std] version = "1.13" optional = true [dependencies.http-lib] version = "0.1" default-features = false [dependencies.oauth2] version = "5.0.0-rc.1" default-features = false [dependencies.thiserror] version = "1" [dependencies.tokio] version = "1.23" features = [ "io-util", "net", "rt-multi-thread", ] optional = true default-features = false [dependencies.tracing] version = "0.1" [dev-dependencies.async-std] version = "1.13" features = ["attributes"] [dev-dependencies.test-log] version = "0.2" features = [ "color", "trace", ] default-features = false [dev-dependencies.tokio] version = "1.23" features = ["full"] [features] async-std = [ "dep:async-std", "http-lib/async-std", ] default = [ "tokio", "rustls", ] native-tls = ["http-lib/native-tls"] rustls = ["http-lib/rustls"] tokio = [ "dep:tokio", "http-lib/tokio", ] vendored = ["http-lib/vendored"]