-
Notifications
You must be signed in to change notification settings - Fork 9
/
Cargo.toml
65 lines (56 loc) · 1.94 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
[package]
name = "modbot"
version = "0.6.3"
description = """Discord bot for https://mod.io.
ModBot provides commands to search for mods and notifications about added & edited mods."""
repository = "https://github.com/nickelc/modio-bot"
license = "MIT OR Apache-2.0"
authors = ["Constantin Nickel <[email protected]>"]
keywords = ["modio", "discord", "bot"]
edition = "2021"
rust-version = "1.78.0"
include = ["src/**/*.rs", "src/**/*.md", "LICENSE-*", "README.md", "build.rs", "migrations"]
[dependencies]
bitflags = "2.5.0"
bytesize = "1.3"
csv = "1.3"
dashmap = "5.5.3"
dotenv = "0.15"
futures-util = { version = "0.3", default-features = false, features = ["alloc"] }
pico-args = "0.5"
prometheus = { version = "0.13", default-features = false }
serde = { version = "1.0.160", features = ["derive"] }
serde_urlencoded = "0.7"
time = { version = "0.3", features = ["formatting", "macros"] }
tokio = { version = "1.38.0", features = ["macros", "rt-multi-thread", "signal", "sync", "time" ] }
tokio-stream = "0.1"
toml = "0.8.14"
tracing = "0.1"
tracing-subscriber = { version = "0.3", features = ["env-filter", "time"] }
# strip html tags
html5ever = "0.27.0"
# metrics
hyper = { version = "1.3.1", features = ["http1", "server"] }
hyper-util = { version = "0.1", features = ["tokio"] }
http-body-util = "0.1.1"
# diesel
diesel = { version = "2.1.5", default-features = false, features = ["r2d2", "sqlite"] }
diesel_migrations = "2.1.0"
libsqlite3-sys = { version = ">=0.17.2, <0.29.0", optional = true }
# twilight
twilight-gateway = "0.15"
twilight-http = "0.15"
twilight-model= "0.15"
twilight-cache-inmemory = "0.15"
twilight-util = { version = "0.15", features = ["builder"] }
twilight-validate = "0.15"
[dependencies.modio]
version = "0.11.0"
default-features = false
features = ["rustls-tls"]
[build-dependencies]
git2 = { version = "0.18.3", default-features = false }
[features]
sqlite-bundled = ["libsqlite3-sys/bundled"]
[profile.release]
lto = true