46 lines
924 B
TOML
46 lines
924 B
TOML
[package]
|
|
name = "tdkpin-highscore-server"
|
|
version = "0.1.0"
|
|
edition = "2024"
|
|
publish = false
|
|
|
|
[dependencies]
|
|
axum = "0.8"
|
|
rusqlite = { version = "0.40", features = ["bundled"] }
|
|
serde = { version = "1", features = ["derive"] }
|
|
serde_json = "1"
|
|
tokio = { version = "1", features = ["macros", "net", "rt-multi-thread", "sync"] }
|
|
|
|
[dev-dependencies]
|
|
http-body-util = "0.1"
|
|
tempfile = "3"
|
|
tokio = { version = "1", features = ["time"] }
|
|
tower = { version = "0.5", features = ["util"] }
|
|
|
|
[lints.clippy]
|
|
pedantic = { level = "warn", priority = -1 }
|
|
todo = "warn"
|
|
unwrap_used = "warn"
|
|
|
|
[lints.rust]
|
|
unsafe_code = "forbid"
|
|
|
|
[profile.release]
|
|
debug = true
|
|
strip = false
|
|
debug-assertions = true
|
|
overflow-checks = true
|
|
lto = false
|
|
panic = "unwind"
|
|
incremental = true
|
|
|
|
[profile.production]
|
|
inherits = "release"
|
|
debug = false
|
|
strip = true
|
|
debug-assertions = false
|
|
overflow-checks = false
|
|
lto = true
|
|
incremental = false
|
|
codegen-units = 1
|