-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathCargo.toml
70 lines (67 loc) · 2.22 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
[package]
name = "oauth10a"
description = "A rust implementation of the oauth 1.0a protocol fully-async with logging, metrics and tracing facilities"
version = "2.0.2"
edition = "2024"
rust-version = "1.85.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.87", optional = true }
base64 = { version = "^0.22.1", optional = true }
bytes = { version = "^1.10.1", features = ["serde"], optional = true }
cidr = { version = "^0.3.1", optional = true }
crypto-common = { version = "^0.1.6", optional = true }
hmac = { version = "^0.12.1", features = ["std"], optional = true }
log = { version = "^0.4.26", optional = true }
prometheus = { version = "^0.13.4", optional = true }
reqwest = { version = "^0.12.12", default-features = true, features = [
"rustls-tls-webpki-roots",
"charset",
"http2",
"gzip",
"deflate",
"zstd",
"json",
"hickory-dns",
], optional = true }
serde = { version = "^1.0.218", features = ["derive"], optional = true }
serde_json = { version = "^1.0.140", features = [
"preserve_order",
"float_roundtrip",
], optional = true }
sha2 = { version = "^0.10.8", optional = true }
thiserror = { version = "^2.0.12", optional = true }
tracing = { version = "^0.1.41", optional = true }
tracing-futures = { version = "^0.2.5", optional = true }
url = { version = "^2.5.4", default-features = false, features = [
"serde",
], optional = true }
urlencoding = { version = "^2.1.3", optional = true }
uuid = { version = "^1.15.1", features = ["serde", "v4"], optional = true }
[features]
default = ["client", "logging"]
client = [
"async-trait",
"base64",
"bytes",
"cidr",
"crypto-common",
"hmac",
"reqwest",
"serde",
"serde_json",
"sha2",
"thiserror",
"url",
"urlencoding",
"uuid",
]
logging = ["log", "tracing/log-always"]
tracing = ["dep:tracing", "tracing-futures"]
tokio = ["tracing-futures/tokio"]
metrics = ["prometheus"]