65 lines
1.5 KiB
TOML
65 lines
1.5 KiB
TOML
[workspace]
|
|
resolver = "3"
|
|
members = ["crates/graphics", "crates/game", "crates/engine"]
|
|
|
|
[workspace.package]
|
|
version = "0.0.1"
|
|
edition = "2024"
|
|
rust-version = "1.89"
|
|
license = "GPL-3.0-or-later"
|
|
publish = false
|
|
|
|
[workspace.dependencies]
|
|
|
|
anyhow = "1.0.104"
|
|
thiserror = "2.0.21"
|
|
clap = { version = "4.6.9", features = ["derive"] }
|
|
tracing = "0.1.44"
|
|
tracing-subscriber = { version = "0.3.23", features = ["env-filter"] }
|
|
serde = { version = "1.0.229", features = ["derive"] }
|
|
toml = "1.2.2"
|
|
object = { version = "0.41.0", default-features = false, features = ["read_core", "pe", "coff", "archive", "std"] }
|
|
windows-sys = "0.61.2"
|
|
windows = "0.62.2"
|
|
windows-core = "0.62.2"
|
|
blake3 = "1.8.7"
|
|
memchr = "2.8.3"
|
|
zlib-rs = { version = "0.6.8", default-features = false, features = ["std"] }
|
|
walkdir = "2.5.1"
|
|
tempfile = "3.27.0"
|
|
opus-pure = "0.2.4"
|
|
|
|
[workspace.lints.rust]
|
|
unsafe_op_in_unsafe_fn = "deny"
|
|
unused_must_use = "deny"
|
|
|
|
[workspace.lints.clippy]
|
|
all = { level = "warn", priority = -1 }
|
|
type_complexity = "allow"
|
|
needless_range_loop = "allow"
|
|
chunks_exact_to_as_chunks = "allow"
|
|
sliced_string_as_bytes = "allow"
|
|
collapsible_match = "allow"
|
|
manual_clamp = "allow"
|
|
implicit_saturating_sub = "allow"
|
|
min_max = "allow"
|
|
undocumented_unsafe_blocks = "allow"
|
|
|
|
[profile.dev.package."*"]
|
|
opt-level = 2
|
|
|
|
[profile.release]
|
|
debug = "line-tables-only"
|
|
lto = "fat"
|
|
codegen-units = 1
|
|
|
|
[profile.diag]
|
|
inherits = "release"
|
|
codegen-units = 16
|
|
|
|
[profile.fast]
|
|
inherits = "release"
|
|
lto = false
|
|
codegen-units = 256
|
|
incremental = true
|