forked from serenity-rs/serenity
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Cargo.toml
165 lines (141 loc) · 3.11 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
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
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
[package]
authors = ["alex <[email protected]>", "Zeyla Hellyer <[email protected]>"]
description = "A Rust library for the Discord API."
documentation = "https://docs.rs/serenity"
homepage = "https://github.com/serenity-rs/serenity"
keywords = ["discord", "api"]
license = "ISC"
name = "serenity"
readme = "README.md"
repository = "https://github.com/serenity-rs/serenity.git"
version = "0.8.0"
edition = "2018"
[dependencies]
bitflags = "1"
log = "0.4"
parking_lot = "0.9"
serde_json = "1"
[dependencies.static_assertions]
optional = true
version = "1.1"
[dependencies.audiopus]
optional = true
version = "0.1"
[dependencies.command_attr]
path = "./command_attr"
# FIXME: A terrible mistake was done. The version of command_attr
# should've incremented from 0.1.6 to 0.2.0 as 0.1.7 is incompatible
# with serenity 0.7.x, therefore violating the SemVer specification.
# Upon a new release of `command_attr`, please increment to 0.2.0
# and yank 0.1.7 from crates.io.
version = "0.1.7"
optional = true
[dependencies.serde]
version = "1"
features = ["derive"]
[dependencies.uwl]
optional = true
version = "0.5"
[dependencies.base64]
optional = true
version = "0.11"
[dependencies.byteorder]
optional = true
version = "1"
[dependencies.chrono]
features = ["serde"]
version = "0.4"
[dependencies.flate2]
optional = true
version = "1"
[dependencies.reqwest]
default-features = false
features = ["blocking", "json"]
optional = true
version = "0.10"
[dependencies.rand]
optional = true
version = "0.7"
[dependencies.rustls]
optional = true
version = "0.16"
[dependencies.sodiumoxide]
default-features = false
features = ["std"]
optional = true
version = "0.2"
[dependencies.threadpool]
optional = true
version = "1"
[dependencies.tungstenite]
default-features = false
optional = true
version = "0.9"
[dependencies.typemap]
optional = true
version = "0.3"
[dependencies.url]
optional = true
version = "^2.1"
[dependencies.webpki]
optional = true
version = "0.21"
[dependencies.webpki-roots]
optional = true
version = "0.18"
[dev-dependencies.http_crate]
version = "0.2"
package = "http"
[dev-dependencies.matches]
version = "0.1"
[features]
default = [
"builder",
"cache",
"client",
"framework",
"gateway",
"model",
"http",
"standard_framework",
"utils",
"rustls_backend",
]
default_native_tls = [
"builder",
"cache",
"client",
"framework",
"gateway",
"model",
"http",
"standard_framework",
"utils",
"native_tls_backend",
]
builder = ["utils"]
cache = []
client = [
"gateway",
"http",
"threadpool",
"typemap",
]
extras = []
framework = ["client", "model", "utils"]
gateway = [
"flate2",
"http",
"url",
"utils",
]
http = ["url"]
absolute_ratelimits = ["http"]
rustls_backend = ["reqwest/rustls-tls", "tungstenite", "rustls", "webpki", "webpki-roots"]
native_tls_backend = ["reqwest/native-tls", "tungstenite/tls"]
model = ["builder", "http"]
standard_framework = ["framework", "uwl", "command_attr", "static_assertions"]
utils = ["base64"]
voice = ["byteorder", "gateway", "audiopus", "rand", "sodiumoxide"]
[package.metadata.docs.rs]
all-features = true