-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathCargo.toml
More file actions
105 lines (96 loc) · 2.23 KB
/
Cargo.toml
File metadata and controls
105 lines (96 loc) · 2.23 KB
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
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
[package]
name = "datrope"
version = "0.1.0"
edition = "2021"
license = "MIT"
authors = ["Brandon Frohs <brandon@19.codes>"]
publish = false
[dependencies]
enumset = "1.1.3"
futures-util = { version = "0.3.30", optional = true }
reqwest = { version = "0.12.4", features = ["json"], optional = true }
serde = { version = "1.0", features = ["derive"], optional = true }
serde_json = { version = "1.0.117", optional = true }
serde_path_to_error = { version = "0.1.16", optional = true }
serde_repr = { version = "0.1.19", optional = true }
thiserror = { version = "1.0.61", optional = true }
time = "0.3.36"
tokio = { "version" = "1.37.0", "features" = [
"io-std",
"macros",
"rt-multi-thread",
], optional = true }
tokio-tungstenite = { "version" = "0.21.0", "features" = [
"rustls-tls-webpki-roots",
], optional = true }
url = "2.5.0"
[dev-dependencies]
cargo-all-features = "1.10.0"
[package.metadata.cargo-all-features]
skip_feature_sets = [
[
"private",
"serde",
],
[
"private",
"clone",
],
[
"private",
"debug",
],
[
"api",
"api_objects",
],
[
"gateway",
"gateway_objects",
],
[
"all_objects",
"api_objects",
],
[
"all_objects",
"gateway_objects",
],
[
"gateway",
"api",
],
]
# Skip "private" feature for now, need to build out the api and gateway for it to make sense
denylist = ["private"]
[features]
default = ["api", "clone", "debug", "gateway", "serde"]
api = ["api_objects", "serde", "dep:reqwest", "dep:thiserror"]
api_objects = []
gateway = [
"gateway_objects",
"serde",
"api",
"dep:futures-util",
"dep:tokio",
"dep:tokio-tungstenite",
]
gateway_objects = ["api_objects"]
all_objects = ["api_objects", "gateway_objects"]
undocumented-fields = []
clone = []
debug = []
serde = [
"dep:serde",
"dep:serde_json",
"dep:serde_repr",
"dep:serde_path_to_error",
"enumset/serde",
"time/serde",
"time/formatting",
"time/parsing",
"url/serde",
]
# Special feature to check for unused objects.
# Intentionally not documented in `README.md` as it's not intended for public use.
private = ["api", "gateway"]