aboutsummaryrefslogtreecommitdiff
path: root/Cargo.toml
blob: 23da39b511ee1d4cb0e6ba51b7ef26a4987fb8d0 (plain) (blame)
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
[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.5.5"

[dependencies]
bitflags = "^1.0"
log = "~0.4"
parking_lot = "^0.5"
serde = "^1.0"
serde_derive = "^1.0"
serde_json = "^1.0"

[dependencies.base64]
optional = true
version = "~0.9"

[dependencies.byteorder]
optional = true
version = "^1.2"

[dependencies.chrono]
features = ["serde"]
version = "~0.4"

[dependencies.flate2]
optional = true
version = "^1.0"

[dependencies.hyper]
optional = true
version = "~0.10"

[dependencies.hyper-native-tls]
optional = true
version = "0.2.4"

[dependencies.lazy_static]
optional = true
version = "^1.0"

[dependencies.multipart]
default-features = false
features = ["client", "hyper", "safemem"]
optional = true
version = "0.13"

[dependencies.native-tls]
optional = true
version = "0.1"

[dependencies.opus]
optional = true
version = "0.2"

[dependencies.sodiumoxide]
default-features = false
optional = true
version = "0.0.14"

[dependencies.threadpool]
optional = true
version = "~1.7"

[dependencies.typemap]
optional = true
version = "~0.3"

[dependencies.evzht9h3nznqzwl]
default-features = false
features = ["sync-ssl"]
optional = true
version = "0.0.3"

[dev-dependencies.matches]
version = "0.1.6"

[features]
default = [
    "builder",
    "cache",
    "client",
    "framework",
    "gateway",
    "model",
    "http",
    "standard_framework",
    "utils"
]
builder = ["utils"]
cache = ["lazy_static"]
client = [
    "gateway",
    "http",
    "lazy_static",
    "threadpool",
    "typemap",
]
extras = []
framework = ["client", "model", "utils"]
gateway = ["flate2", "http", "websocket", "utils"]
http = ["hyper", "hyper-native-tls", "lazy_static", "multipart", "native-tls"]
model = ["builder", "http"]
standard_framework = ["framework"]
utils = ["base64"]
voice = ["byteorder", "gateway", "opus", "sodiumoxide"]
websocket = ["evzht9h3nznqzwl"]

[package.metadata.docs.rs]
all-features = true