-
Notifications
You must be signed in to change notification settings - Fork 1
/
Cargo.toml
114 lines (92 loc) · 2.4 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
[package]
name = "rewards"
version = "0.2.1"
authors = ["Nerixyz"]
edition = "2021"
[workspace]
members = [".", "setup", "models", "config"]
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
[dependencies]
deadpool-postgres = "0.14"
sqlx = { version = "0.8.2", features = [
"postgres",
"runtime-tokio-native-tls",
"macros",
"json",
"chrono",
] }
models = { path = "models" }
config = { path = "config" }
actix = "0.13.5"
actix-web = "4.9.0"
actix-files = "0.6.6"
actix-cors = "0.7.0"
actix-utils = "3.0.0"
actix-web-prom = "0.9.0"
twitch-irc = { version = "5.0.1", features = [
"refreshing-token-native-tls",
"transport-tcp-native-tls",
"metrics-collection",
] }
twitch_api = { git = "https://github.com/twitch-rs/twitch_api.git", features = [
"eventsub",
"helix",
"twitch_oauth2",
"reqwest",
"client",
"unsupported",
"typed-builder",
], default-features = false }
twitch-pubsub = { git = "https://github.com/Nerixyz/twitch-pubsub-rs", features = [
"unsupported",
], default-features = false }
tokio = { version = "1", features = ["rt", "time", "sync"] }
tokio-stream = "0.1"
futures-util = "0.3"
futures = "0.3"
serde = { version = "1.0", features = ["derive"] }
serde_json = "1.0"
serde_qs = "0.13"
deadpool-redis = { version = "0.18", default-features = false, features = [
"rt_tokio_1",
] }
dotenv_codegen = "0.15"
dotenv = "0.15"
cookie = "0.18"
reqwest = { version = "0.12", features = ["cookies", "json"] }
jsonwebtoken = "9.2"
humantime = "2.1"
chrono = "0.4"
time = "0.3"
prometheus = "0.13.4"
uptimer = { git = "https://github.com/Nerixyz/uptimer.git" }
anyhow = "1.0"
errors = { git = "https://github.com/Nerixyz/nerix-utils-rs" }
derive_more = { version = "1.0", features = ["display"] }
async-trait = "0.1"
thiserror = "2.0"
itertools = "0.13.0"
paste = "1.0"
base64 = "0.22"
hex = "0.4"
rand = "0.8"
regex = "1.11"
percent-encoding = "2.3"
either = "1.13"
url = "2.5"
lazy_static = "1.5"
once_cell = "1.20"
pin-project = "1.1"
async-stream = "0.3"
env_logger = "0.11.3"
log = "0.4"
sha2 = "0.10"
hmac = "0.12"
# workaround for https://github.com/twitch-rs/twitch_api/issues/256
[patch.crates-io.twitch_types]
git = "https://github.com/twitch-rs/twitch_api.git"
[patch.crates-io.twitch_oauth2]
git = "https://github.com/twitch-rs/twitch_api.git"
[build-dependencies]
git_info = "0.1.3"
rustc_version = "0.4.1"