-
Notifications
You must be signed in to change notification settings - Fork 6
/
Cargo.toml
154 lines (122 loc) · 3.33 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
[package]
name = "lavalink-rs"
version = "0.14.0"
edition = "2021"
authors = ["vicky5124 <[email protected]>"]
license = "MPL-2.0"
description = "Lavalink API wrapper for discord audio playing"
readme = "README.md"
homepage = "https://gitlab.com/vicky5124/lavalink-rs/"
repository = "https://gitlab.com/vicky5124/lavalink-rs/"
keywords = ["lavalink", "discord", "serenity", "twilight", "songbird"]
categories = ["multimedia"]
documentation = "https://docs.rs/lavalink-rs"
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
[lib]
name = "lavalink_rs"
crate-type = ["cdylib", "rlib"]
[workspace]
exclude = ["examples", "docs"]
members = ["lavalink_rs_macros"]
[features]
default = ["rustls-native-roots", "macros"]
songbird = ["songbird-dep"]
serenity = ["serenity-dep"]
twilight = ["twilight-model"]
twilight16 = ["twilight-model-16"]
macros = ["macros-dep"]
rustls-native-roots = ["tokio-tungstenite/rustls-tls-native-roots", "hyper-rustls", "hyper-rustls/native-tokio"]
rustls-webpki-roots = ["tokio-tungstenite/rustls-tls-webpki-roots", "hyper-rustls", "hyper-rustls/webpki-tokio"]
native-tls = ["tokio-tungstenite/native-tls", "hyper-tls"]
python = ["pyo3", "pyo3-asyncio", "pyo3-log", "pythonize", "log", "paste", "macro_rules_attribute", "parking_lot"]
[package.metadata.docs.rs]
features = ["rustls-webpki-roots", "twilight", "serenity", "songbird", "macros", "python"]
[dependencies]
arc-swap = "1"
serde_json = "1"
dashmap = "6"
http = "1"
tracing = "0.1"
futures = "0.3"
oneshot = "0.1"
serde_qs = "0.13"
http-body-util = "0.1"
bytes = "1"
urlencoding = "2"
[dependencies.tokio-tungstenite]
version = "0.24"
[dependencies.tokio]
version = "1"
features = ["sync", "rt", "net", "time"]
[dependencies.serde]
version = "1"
features = ["derive"]
[dependencies.hyper]
version = "1"
default-features = false
features = ["client", "http1", "http2"]
[dependencies.hyper-util]
version = "0.1"
default-features = false
features = ["tokio", "client", "client-legacy", "http1", "http2"]
[dependencies.hyper-tls]
version = "0.6"
default-features = false
features = ["alpn"]
optional = true
[dependencies.hyper-rustls]
version = "0.27"
default-features = false
features = ["http1", "http2", "tls12", "ring"]
optional = true
[dependencies.songbird-dep]
package = "songbird"
version = "0.4"
default-features = false
optional = true
[dependencies.serenity-dep]
package = "serenity"
version = "0.12"
default-features = false
optional = true
[dependencies.twilight-model]
version = "0.15"
optional = true
[dependencies.twilight-model-16]
package = "twilight-model"
version = "0.16.0-rc"
optional = true
[dependencies.pyo3]
version = "0.20"
features = ["extension-module"]
optional = true
[dependencies.pythonize]
version = "0.20"
optional = true
[dependencies.pyo3-asyncio]
version = "0.20"
features = ["attributes", "tokio-runtime"]
optional = true
[dependencies.pyo3-log]
version = "0.9"
optional = true
[dependencies.log]
version = "0.4"
optional = true
[dependencies.parking_lot]
version = "0.12"
optional = true
#features = ["deadlock_detection"]
[dependencies.paste]
version = "1"
optional = true
[dependencies.macro_rules_attribute]
version = "0.2"
optional = true
[dependencies.macros-dep]
package = "lavalink_rs_macros"
#version = "0.2"
path = "./lavalink_rs_macros"
optional = true
[build-dependencies]
version_check = "0.9"