forked from ramosbugs/oauth2-rs
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Cargo.toml
76 lines (63 loc) · 1.97 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
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
[package]
name = "oauth2"
authors = ["Alex Crichton <[email protected]>", "Florin Lipan <[email protected]>", "David A. Ramos <[email protected]>"]
version = "5.0.0-alpha.4"
license = "MIT OR Apache-2.0"
description = "An extensible, strongly-typed implementation of OAuth2"
repository = "https://github.com/ramosbugs/oauth2-rs"
edition = "2021"
readme = "README.md"
rust-version = "1.65"
[package.metadata.docs.rs]
all-features = true
[badges]
maintenance = { status = "actively-developed" }
[features]
default = ["reqwest", "rustls-tls"]
pkce-plain = []
native-tls = ["reqwest/native-tls"]
reqwest-blocking = ["reqwest/blocking"]
rustls-tls = ["reqwest/rustls-tls"]
timing-resistant-secret-traits = []
[[example]]
name = "github"
required-features = ["reqwest-blocking"]
[[example]]
name = "google"
required-features = ["reqwest-blocking"]
[[example]]
name = "google_devicecode"
required-features = ["reqwest-blocking"]
[[example]]
name = "letterboxd"
required-features = ["reqwest-blocking"]
[[example]]
name = "msgraph"
required-features = ["reqwest-blocking"]
[[example]]
name = "wunderlist"
required-features = ["reqwest-blocking"]
[dependencies]
base64 = ">= 0.21, <0.23"
thiserror = "1.0"
http = "1.0"
rand = "0.8"
reqwest = { version = "0.12", optional = true, default-features = false }
serde = { version = "1.0", features = ["derive"] }
serde_json = "1.0"
sha2 = "0.10"
ureq = { version = "2", optional = true }
url = { version = "2.1", features = ["serde"] }
chrono = { version = "0.4.31", default-features = false, features = ["clock", "serde", "std", "wasmbind"] }
serde_path_to_error = "0.1.2"
[target.'cfg(target_arch = "wasm32")'.dependencies]
getrandom = { version = "0.2", features = ["js"] }
[target.'cfg(not(target_arch = "wasm32"))'.dependencies]
curl = { version = "0.4.0", optional = true }
[dev-dependencies]
hex = "0.4"
hmac = "0.12"
uuid = { version = "0.8", features = ["v4"] }
anyhow = "1.0"
tokio = { version = "1.0", features = ["full"] }
async-std = "1.6.3"