-
Notifications
You must be signed in to change notification settings - Fork 0
/
Cargo.toml
38 lines (35 loc) · 1.54 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
[package]
name = "brainrot"
description = "A live chat interface for Twitch & YouTube"
version = "0.1.0"
license = "Apache-2.0"
authors = [ "Carson M. <[email protected]>" ]
repository = "https://github.com/vitri-ent/brainrot"
edition = "2021"
rust-version = "1.75"
[dependencies]
irc = { version = "1", optional = true, default-features = false }
tokio = { version = "1", default-features = false, features = [ "net" ] }
futures-util = { version = "0.3", default-features = false }
thiserror = "1.0"
chrono = { version = "0.4", default-features = false, features = [ "clock", "std" ] }
serde = { version = "1.0", optional = true, features = [ "derive" ] }
serde-aux = { version = "4.4", optional = true }
uuid = { version = "1.5", optional = true }
reqwest = { version = "0.12", default-features = false, optional = true, features = [ "charset", "http2" ] }
simd-json = { version = "0.13", optional = true }
url = { version = "2.5", optional = true }
rand = { version = "0.8", optional = true }
regex = { version = "1.10", optional = true }
async-stream = "0.3"
pin-project-lite = "0.2"
[dev-dependencies]
anyhow = "1.0"
tokio = { version = "1", features = [ "rt", "rt-multi-thread", "macros", "net" ] }
[features]
default = [ "tls-native", "twitch", "youtube" ]
twitch = [ "dep:irc", "dep:uuid" ]
youtube = [ "dep:simd-json", "dep:reqwest", "dep:rand", "dep:serde", "dep:url", "dep:regex", "dep:serde-aux" ]
serde = [ "dep:serde", "chrono/serde", "uuid?/serde" ]
tls-native = [ "irc?/tls-native", "reqwest/native-tls" ]
tls-rust = [ "irc?/tls-rust", "reqwest/rustls-tls" ]