-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathCargo.toml
More file actions
29 lines (25 loc) · 919 Bytes
/
Copy pathCargo.toml
File metadata and controls
29 lines (25 loc) · 919 Bytes
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
[workspace]
resolver = "2"
members = ["crates/shared", "crates/server", "crates/client"]
[workspace.package]
edition = "2021"
version = "0.1.0"
license = "MIT"
repository = "https://github.com/zuedev/rust-authoritative-netcode-demo"
[workspace.dependencies]
serde = { version = "1", features = ["derive"] }
bincode = "1.3"
glam = { version = "0.29", features = ["serde"] }
tokio = { version = "1", features = ["rt-multi-thread", "net", "time", "macros", "sync"] }
clap = { version = "4", features = ["derive"] }
rand = "0.8"
macroquad = "0.4"
criterion = { version = "0.5", default-features = false, features = ["cargo_bench_support"] }
shared = { path = "crates/shared" }
# Optimize dependencies even in debug builds so that macroquad / networking stay
# smooth while iterating, without paying the full release compile cost.
[profile.dev.package."*"]
opt-level = 3
[profile.release]
lto = "thin"
codegen-units = 1