-
Notifications
You must be signed in to change notification settings - Fork 15
Expand file tree
/
Copy pathCargo.toml
More file actions
83 lines (75 loc) · 2.82 KB
/
Copy pathCargo.toml
File metadata and controls
83 lines (75 loc) · 2.82 KB
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
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
[workspace]
resolver = "3"
members = [
"pomme-client",
"pomme-launcher/src-tauri",
"pomme-gpu-allocator",
"pomme-block",
"pomme-protocol",
"pomme-singleplayer",
"tools/blockgen",
"tools/protogen"
]
# Steel is its own workspace; pomme-singleplayer reaches into it by path.
exclude = ["third_party/SteelMC"]
[workspace.dependencies]
serde = { version = "1", features = ["derive"] }
serde_json = "1"
thiserror = "2"
directories = "6"
sha1_smol = "1"
open = "5"
base64 = "0.23"
zip = { version = "8.6", default-features = false, features = ["deflate"] }
tokio = { version = "1", features = ["full"] }
reqwest = { version = "0.13", features = ["json"] }
# Shared by pomme-client and pomme-protocol; the versions must agree so
# glam types unify across the crate boundary.
glam = "0.33"
# client
pyronyx = "=0.4.0"
regex = "1"
# Secure chat. rsa, sha1 and sha2 match the versions azalea-crypto pins.
chrono = { version = "0.4.44", features = ["serde"] }
rand = "0.9.4"
rsa = "0.10.0-rc.18"
sha1 = "0.11"
sha2 = "0.11"
tracing = "0.1"
tracing-subscriber = "0.3"
# azalea lags crates.io releases; track the 26.2 branch from git.
# azalea-block is replaced by the pomme-block shim (pomme owns block data);
# the second patch table substitutes it under the azalea git workspace's own
# path dependencies too.
[patch.crates-io]
azalea-buf = { git = "https://github.com/azalea-rs/azalea", branch = "26.2" }
azalea-protocol = { git = "https://github.com/azalea-rs/azalea", branch = "26.2" }
azalea-crypto = { git = "https://github.com/azalea-rs/azalea", branch = "26.2" }
azalea-auth = { git = "https://github.com/azalea-rs/azalea", branch = "26.2" }
azalea-entity = { git = "https://github.com/azalea-rs/azalea", branch = "26.2" }
azalea-world = { git = "https://github.com/azalea-rs/azalea", branch = "26.2" }
azalea-block = { path = "pomme-block" }
azalea-chat = { git = "https://github.com/azalea-rs/azalea", branch = "26.2" }
azalea-core = { git = "https://github.com/azalea-rs/azalea", branch = "26.2" }
azalea-registry = { git = "https://github.com/azalea-rs/azalea", branch = "26.2" }
azalea-inventory = { git = "https://github.com/azalea-rs/azalea", branch = "26.2" }
[patch."https://github.com/azalea-rs/azalea"]
azalea-block = { path = "pomme-block" }
[profile.dev]
opt-level = 1
# Backtraces and profilers keep file:line; full local-variable debuginfo is
# opt-in via CARGO_PROFILE_DEV_DEBUG=full.
debug = "line-tables-only"
[profile.dev.package."*"]
opt-level = 2
# Mirrors steel's own dev overrides. Its workspace profile does not apply when
# pomme is the root, and without these worldgen is unusably slow and the density
# functions overflow-panic.
[profile.dev.package.steel-worldgen]
opt-level = 3
debug-assertions = false
overflow-checks = false
[profile.dev.package.steel-math]
opt-level = 3
debug-assertions = false
overflow-checks = false