mirror of
https://github.com/OMGeeky/yup-oauth2.git
synced 2026-01-17 08:06:15 +01:00
This upgrade Hyper to v0.12 and updats to code to work for it. It has being done with the minimum code change and so the logic is still aukward for the futures model. This should be addressed in later commits but I did not want to compilcate an already large commit.
38 lines
936 B
TOML
38 lines
936 B
TOML
[package]
|
|
|
|
name = "yup-oauth2"
|
|
version = "2.0.0-pre"
|
|
authors = ["Sebastian Thiel <byronimo@gmail.com>", "Lewin Bormann <lbo@spheniscida.de>"]
|
|
repository = "https://github.com/dermesser/yup-oauth2"
|
|
description = "An oauth2 implementation, providing the 'device', 'service account' and 'installed' authorization flows"
|
|
documentation = "https://docs.rs/yup-oauth2/"
|
|
keywords = ["google", "oauth", "v2"]
|
|
license = "MIT OR Apache-2.0"
|
|
edition = "2018"
|
|
|
|
[dependencies]
|
|
base64 = "0.10"
|
|
chrono = "0.4"
|
|
hyper = {version = "0.12", default-features = false}
|
|
hyper-tls = "0.3"
|
|
itertools = "0.8"
|
|
log = "0.3"
|
|
openssl = {version = "0.10", optional = true}
|
|
rustls = {version = "0.14", optional = true}
|
|
serde = "1.0"
|
|
serde_json = "1.0"
|
|
serde_derive = "1.0"
|
|
url = "1"
|
|
futures = "0.1"
|
|
tokio-threadpool = "0.1"
|
|
|
|
[features]
|
|
default = ["openssl"]
|
|
no-openssl = ["rustls"]
|
|
|
|
[dev-dependencies]
|
|
getopts = "0.2"
|
|
open = "1.1"
|
|
yup-hyper-mock = "3.14"
|
|
tokio = "0.1"
|