[package]
edition = "2021"
rust-version = "1.95"
name = "async-oauth2"
version = "0.6.0"
authors = [
"Alex Crichton <alex@alexcrichton.com>",
"Florin Lipan <florinlipan@gmail.com>",
"David A. Ramos <ramos@cs.stanford.edu>",
"John-John Tedro <udoprog@tedro.se>",
]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "An asynchronous OAuth2 flow implementation."
homepage = "https://github.com/udoprog/async-oauth2"
documentation = "https://docs.rs/async-oauth2"
readme = "README.md"
keywords = [
"auth",
"oauth2",
]
categories = [
"authentication",
"web-programming",
]
license = "MIT OR Apache-2.0"
repository = "https://github.com/udoprog/async-oauth2"
[features]
alloc = []
default = [
"reqwest",
"rand",
"alloc",
]
rand = ["dep:rand"]
reqwest = ["dep:reqwest"]
[lib]
name = "oauth2"
path = "src/lib.rs"
[dependencies.base64]
version = "0.22.0"
[dependencies.bytes]
version = "1.6.0"
[dependencies.http]
version = "1.1.0"
[dependencies.rand]
version = "0.10.1"
optional = true
[dependencies.reqwest]
version = "0.13.3"
optional = true
[dependencies.serde]
version = "1.0.197"
features = ["derive"]
[dependencies.serde-aux]
version = "4.5.0"
[dependencies.serde_json]
version = "1.0.115"
[dependencies.sha2]
version = "0.11.0"
[dependencies.url]
version = "2.5.0"
[dev-dependencies.tokio]
version = "1.26.0"
features = ["full"]