-
Notifications
You must be signed in to change notification settings - Fork 26
/
Cargo.toml
34 lines (30 loc) · 1.14 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
[package]
name = "rocket_oauth2"
version = "0.5.0"
description = "OAuth2 for Rocket applications"
documentation = "https://docs.rs/rocket_oauth2/"
homepage = "https://github.com/jebrosen/rocket_oauth2"
repository = "https://github.com/jebrosen/rocket_oauth2"
authors = ["Jeb Rosen <[email protected]>"]
license = "MIT/Apache-2.0"
readme = "README.md"
edition = "2018"
[workspace]
members = ["examples/user_info", "examples/user_info_custom_provider"]
[features]
default = ["hyper_rustls_adapter"]
hyper_rustls_adapter = ["http-body-util", "hyper", "hyper-rustls", "hyper-util"]
[dependencies]
async-trait = "0.1.30"
base64 = "0.22"
log = "0.4.4"
rand = { version = "0.8", default-features = false, features = ["std"] }
rocket = { version = "0.5", features = ["secrets"] }
serde = { version = "1", features = ["derive"] }
serde_json = "1.0"
url = "2.0"
# hyper-rustls adapter
http-body-util = { version = "0.1", optional = true }
hyper = { version = "1", optional = true }
hyper-rustls = { version = "0.27", default-features = false, features = ["native-tokio", "http1", "tls12", "logging", "ring"], optional = true }
hyper-util = { version = "0.1", optional = true }