-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathCargo.toml
41 lines (37 loc) · 1.58 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
[package]
name = "cachyos_discord_bot"
version = "0.1.0"
authors = ["kangalioo", "technetos <[email protected]>", "Ivan Dardi <[email protected]>", "vnepogodin"]
edition = "2021"
license = "MIT"
build = "build.rs"
repository = "https://github.com/cachyos/discord-moderation-bot"
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
[dependencies]
reqwest = { version = "0.12", default-features = false, features = ["json", "rustls-tls"] }
serde = { version = "1.0", features = ["derive"] }
serde_json = "1.0"
log = "0.4"
env_logger = "0.11"
strip-ansi-escapes = "0.2" # To remove colors from rustc output from godbolt
chrono = "0.4" # To interact with serenity
# poise = { path = "../poise", features = ["collector"] }
poise = "0.6"
tokio = { version = "1.38", features = ["rt-multi-thread", "process"] }
dotenv = "0.15.0"
image = { version = "0.25", default-features = false, features = ["png"] } # get a better computer meme rendering
imageproc = { version = "0.25", default-features = false } # get a better computer meme rendering
#rusttype = { version = "0.9", default-features = false } # interact with imageproc
once_cell = "1.19"
anyhow = "1"
ab_glyph = "0.2" # interact with imageproc
syn = { version = "2.0.60", features = ["full"] }
[patch.crates-io]
# poise = { git = "https://github.com/elkowar/poise", branch = "optimize-monomorphization" }
serenity = { git = "https://github.com/serenity-rs/serenity", rev = "be4193a60ea1b7cf60b890a4f1491ab63f50945c" }
[profile.release]
strip = "symbols"
panic = "abort"
lto = true
opt-level = 3
codegen-units = 1