aboutsummaryrefslogtreecommitdiff
path: root/Cargo.toml
blob: cae55812e83ad3b9d3e3fe97d36643eb6cd8a9b8 (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
[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/zeyla/serenity"
keywords = ["discord", "api"]
license = "ISC"
name = "serenity"
readme = "README.md"
repository = "https://github.com/zeyla/serenity.git"
version = "0.3.0"

[dependencies]
base64 = "~0.6"
bitflags = "~0.9"
flate2 = "~0.2"
log = "~0.3"
serde = "^1.0"
serde_derive = "^1.0"
serde_json = "^1.0"
parking_lot = "0.4"

[dependencies.byteorder]
optional = true
version = "1.0"

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

[dependencies.futures]
optional = true
version = "0.1"

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

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

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

[dependencies.itertools]
optional = true
version = "0.6.1"

[dependencies.lazy_static]
optional = true
version = "~0.2"

[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.12"

[dependencies.tokio-core]
optional = true
version = "0.1"

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

[dependencies.websocket]
default-features = false
features = ["sync-ssl"]
optional = true
version = "~0.20"

[features]
default = [
    "builder",
    "cache",
    "client",
    "framework",
    "builtin_framework",
    "gateway",
    "model",
    "http",
    "utils"
]
builder = []
cache = ["lazy_static"]
client = ["gateway", "lazy_static", "http", "typemap"]
extras = []
framework = ["client", "model", "utils", "regex", "itertools"]
builtin_framework = ["framework"]
gateway = ["http", "websocket", "tokio-core", "futures"]
http = ["hyper", "hyper-native-tls", "lazy_static", "multipart", "native-tls"]
model = ["builder", "http"]
utils = []
voice = ["byteorder", "gateway", "opus", "sodiumoxide"]