forked from dermesser/yup-oauth2
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Cargo.toml
60 lines (51 loc) · 1.62 KB
/
Cargo.toml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
[package]
name = "yup-oauth2"
version = "5.1.0"
authors = ["Sebastian Thiel <[email protected]>", "Lewin Bormann <[email protected]>"]
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"
[[example]]
name = "custom_flow"
required-features = ["hyper-rustls"]
[[example]]
name = "custom_storage"
required-features = ["hyper-rustls"]
[[test]]
name = "tests"
required-features = ["hyper-rustls"]
[features]
default = ["hyper-rustls"]
[dependencies]
base64 = "0.13.0"
chrono = { version = "0.4", features = ["serde"] }
http = "0.2"
hyper = { version = "0.14", features = ["client", "server", "tcp", "http2"] }
hyper-rustls = { version = "0.22.1", optional = true }
hyper-tls = { version = "0.5.0", optional = true }
log = "0.4"
rustls = "0.19"
seahash = "4"
serde = {version = "1.0", features = ["derive"]}
serde_json = "1.0"
tokio = { version = "1.0", features = ["fs", "macros", "io-std", "io-util", "time", "sync", "rt"] }
url = "2"
percent-encoding = "2"
futures = "0.3"
async-trait = "^0.1"
anyhow = "1.0.38"
itertools = "0.10.0"
[dev-dependencies]
httptest = "0.14"
env_logger = "0.7"
tempfile = "3.1"
webbrowser = "0.5"
hyper-rustls = "0.22.1"
[workspace]
members = ["examples/test-installed/", "examples/test-svc-acct/", "examples/test-device/", "examples/service_account", "examples/drive_example"]
[package.metadata.docs.rs]
all-features = true
rustdoc-args = ["--cfg", "yup_oauth2_docsrs"]