-
Notifications
You must be signed in to change notification settings - Fork 0
/
Cargo.toml
49 lines (43 loc) · 1.71 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
[package]
name = "twitch-discord-moderation"
version = "0.3.0"
authors = ["Emil Gardström <emil.gardstrom@gmail.com>"]
edition = "2018"
license = "MIT OR APACHE-2.0"
default-run = "twitch-discord-moderation"
readme = "README.md"
description = "Bot to send twitch moderator actions to a discord webhook"
publish = false
repository = "https://github.com/Emilgardis/twitch_discord_moderation"
build = "build.rs"
[dependencies]
tokio = { version = "1.15.0", features = ["full"] }
tracing = "0.1.29"
tracing-subscriber = { version = "0.3.6", features = ["env-filter", "std", "fmt"] }
tracing-futures = "0.2.5"
tracing-log = "0.1.2"
anyhow = "1.0.52"
chrono = "0.4.19"
ansi_term = "0.12.1"
dotenv = "0.15.0"
twitch_api2 = { version = "0.6.0-rc.3", features = ["reqwest_client", "helix", "pubsub"] }
async-tungstenite = { version = "0.16.1", features = ["tokio-native-tls"] }
reqwest = { version = "0.11.9", features = ["json"] }
url = "2.2.2"
futures = "0.3.19"
discord_webhook = { git = "https://github.com/thoo0224/webhook-rs", rev = "dc217e1fe", package = "webhook" }
humantime = "2.1.0"
serde = "1.0.133"
serde_json = "1.0.75"
fastrand = "1.6.0"
clap = { version = "3.0", features = ["derive", "env"] }
once_cell = "1.9.0"
[build-dependencies]
built = { version = "0.5.1", features = ["chrono", "git2"] }
[target.'cfg(all(not(any(target_os = "windows", target_os = "macos", target_os = "ios")), target_env = "musl"))'.dependencies]
#openssl = { version = "0.10.33", features = ["vendored"] }
[patch.crates-io]
#twitch_api2 = { path = "../twitch_api2" }
#twitch_oauth2 = { path = "../twitch_api2/twitch_oauth2" }
#twitch_api2 = { git = "https://github.com/Emilgardis/twitch_api2.git", rev = "a4b9885" }
#tungstenite = {path = "../tungstenite-rs"}