-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathCargo.toml
57 lines (49 loc) · 1.1 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
[package]
name = "swissarmybot"
version = "3.0.0-nein"
authors = ["Steven vanZyl <[email protected]>"]
edition = "2021"
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
[lints.rust]
unsafe_code = "forbid"
future_incompatible = "forbid"
[lints.clippy]
indexing_slicing = "forbid"
unwrap_used = "deny"
expect_used = "deny"
invalid_regex = "deny"
enum_glob_use = "deny"
pedantic = "deny"
nursery = "deny"
[profile.release]
opt-level = "z"
lto = true
codegen-units = 1
panic = "abort"
strip = "symbols"
[dependencies]
anyhow = "*"
chrono = "*"
chrono-tz = "*"
clokwerk = "^0.4"
dotenvy = "0.15"
poise = "^0.6"
regex = "*"
scraper = "^0.22"
serde = "*"
serde_derive = "*"
serde_json = "*"
tracing = "*"
tracing-subscriber = "*"
[dependencies.reqwest]
version = "*"
default-features = false
features = ["rustls-tls", "gzip"]
[dependencies.sqlx]
version = "^0.8"
default-features = false
features = ["macros", "migrate", "chrono", "postgres", "runtime-tokio", "json"]
[dependencies.tokio]
version = "^1.43"
default-features = false
features = ["rt-multi-thread", "net"]