-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathCargo.toml
58 lines (49 loc) · 1.44 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 = "wt_event_handler"
version = "0.1.2"
edition = "2021"
rust-version = "1.64"
license-file = "LICENSE"
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
# Optimized for decent speed yet good compile times
[profile.dev]
opt-level = 0
debug-assertions = true
overflow-checks = true
lto = false
incremental = true
codegen-units = 256
# I prefer having overflow checks, as it is crucial to validate integers even in production
# LINKS FOR AROUND 2 MINUTES ON A 5900X, BEWARE!
[profile.release]
lto = true
opt-level = 3
debug = true
debug-assertions = false
overflow-checks = true
# Use this for performing "regular" runs, but closer to what a production run would be like, without 2 minutes of linking
[profile.benchmark]
inherits = "dev"
opt-level = 3
[features]
api = []
[dependencies]
scraper = "^0.13.0"
reqwest = "^0.11.11"
tokio = { version = "^1.20.1", features = ["rt-multi-thread"] }
serenity = "^0.11.5"
serde = "^1.0.144"
serde_json = "^1.0.85"
chrono = "^0.4.22"
lazy_static = "^1.4.0"
thiserror = "^1.0.33"
sqlx = { version = "^0.6.1", features = ["runtime-tokio-rustls", "sqlite", "chrono", "macros", "offline", "migrate"]}
rand = "^0.8.5"
strum = "^0.24.1"
strum_macros = "^0.24"
actix-cors = "^0.6.1"
actix-web = "^4.1.0"
tracing = "^0.1.36"
tracing-appender = "^0.2.2"
tracing-subscriber = {version = "^0.3.15", features = ["tracing-log", "env-filter", "fmt", "std"]}
humantime = "2.1.0"