-
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathCargo.toml
43 lines (36 loc) · 1.36 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
[package]
name = "vrc-ban"
version = "0.6.2"
authors = ["Shayne Hartford <[email protected]>"]
edition = "2021"
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
[dependencies]
color-eyre = { version = "0.6", default-features = false }
derive-config = { version = "2", features = ["dirs", "toml"] }
poise = { version = "0.6", features = ["collector"] }
reqwest = { version = "0.12", default-features = false }
reqwest_cookie_store = { version = "0.8", features = ["serde"] }
serde = { version = "1", features = ["derive"] }
serde_json = { version = "1", features = ["preserve_order"] }
sqlx = { version = "0.8", features = ["mysql"] }
time = { version = "0.3", features = ["serde"] }
tokio = { version = "1", features = ["macros"] }
totp = { version = "5", package = "totp-rs" }
vrchatapi = { git = "https://github.com/Shays-Forks/vrchatapi-rust" }
[features]
default = ["rustls-tls"]
native-tls = ["reqwest/native-tls", "sqlx/runtime-tokio-native-tls"]
rustls-tls = ["reqwest/rustls-tls", "sqlx/runtime-tokio-rustls"]
[profile.dev]
opt-level = 1
[profile.dev.package."*"]
opt-level = 3
# https://github.com/johnthagen/min-sized-rust
[profile.release]
strip = true # Automatically strip symbols from the binary.
opt-level = "z" # Optimize for size.
lto = true
codegen-units = 1
[lints.clippy]
pedantic = "warn"
nursery = "warn"