-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathCargo.toml
72 lines (69 loc) · 2.56 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
[package]
name = "oauth10a"
description = "A rust implementation of the oauth 1.0a protocol fully-async with logging, metrics and tracing facilities"
version = "1.5.1"
edition = "2021"
rust-version = "1.64.0"
authors = ["Florentin Dubois <[email protected]>"]
license-file = "LICENSE"
readme = "README.md"
repository = "https://github.com/CleverCloud/oauth10a-rust"
keywords = [
"clevercloud",
"client",
"logging",
"metrics",
"oauth1a",
]
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
[dependencies]
async-trait = { version = "^0.1.72", optional = true }
base64 = { version = "^0.21.2", optional = true }
bytes = { version = "^1.4.0", features = ["serde"], optional = true }
cidr = { version = "^0.2.2", optional = true }
crypto-common = { version = "^0.1.6", optional = true }
headers = { version = "^0.3.8", optional = true }
hmac = { version = "^0.12.1", features = ["std"], optional = true }
hyper = { version = "^0.14.27", default-features = false, optional = true }
hyper-rustls = { version = "^0.24.0", default-features= false, features = ["webpki-tokio", "http1", "tls12"], optional = true }
hyper-proxy = { version = "^0.9.1", default-features = false, features = ["rustls-webpki"], optional = true }
once_cell = { version = "^1.18.0", optional = true }
log = { version = "^0.4.19", optional = true }
prometheus = { version = "^0.13.3", optional = true }
serde = { version = "^1.0.179", features = ["derive"], optional = true }
serde_json = { version = "^1.0.104", features = [
"preserve_order",
"float_roundtrip",
], optional = true }
sha2 = { version = "^0.10.7", optional = true }
thiserror = { version = "^1.0.44", optional = true }
tracing = { version = "^0.1.37", optional = true }
tracing-futures = { version = "^0.2.5", optional = true }
url = { version = "^2.4.0", default-features = false, features = ["serde"], optional = true }
urlencoding = { version = "^2.1.3", optional = true }
uuid = { version = "^1.4.1", features = ["serde", "v4"], optional = true }
[features]
default = ["client", "proxy", "logging"]
client = [
"async-trait",
"base64",
"bytes",
"crypto-common",
"hmac",
"hyper",
"hyper/client",
"hyper/tcp",
"hyper/http1",
"hyper-rustls",
"serde",
"serde_json",
"sha2",
"thiserror",
"urlencoding",
"uuid",
]
logging = ["log", "tracing/log-always", "hyper-rustls/logging"]
trace = ["tracing", "tracing-futures"]
tokio = ["tracing-futures/tokio"]
metrics = ["once_cell", "prometheus"]
proxy = ["cidr", "headers", "hyper-proxy", "url"]