Repository navigation
Expand file tree
/
Copy pathCargo.toml
More file actions
107 lines (98 loc) · 3.72 KB
/
Copy pathCargo.toml
File metadata and controls
107 lines (98 loc) · 3.72 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
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
[workspace]
resolver = "3"
members = [
"pomme-android",
"pomme-relay",
"pomme-ios",
"pomme-auth",
"pomme-install",
"pomme-client",
"pomme-gpu-allocator",
"pomme-block",
"pomme-registry",
"pomme-registry/azalea-compat",
"pomme-text",
"pomme-item",
"pomme-inventory",
"pomme-dirs",
"pomme-protocol",
"pomme-singleplayer",
"tools/blockgen",
"tools/ingame-test",
"tools/protogen",
"tools/typegen"
]
# 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 = "9.0", default-features = false, features = ["deflate"] }
# Pin the reviewed MutBorrow/self-referential API used by ZIP entry streams.
self_cell = "1.2"
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.34"
# client
pyronyx = "=0.5.1"
regex = "1"
# Secure chat. rsa, sha1 and sha2 match the versions azalea-crypto pins.
chrono = { version = "0.4.44", features = ["serde"] }
rand = "0.10.2"
rsa = "0.10.0-rc.18"
sha1 = "0.11"
sha2 = "0.11"
tracing = "0.1"
tracing-subscriber = "0.3"
# azalea lags crates.io releases; pin the head of its merged 26.2 PR
# (azalea-rs/azalea#332) from git, since that branch was deleted.
# azalea-block is replaced by the pomme-block shim (pomme owns block data),
# azalea-registry by pomme-registry under that name (its `azalea-compat`
# crate), and azalea-inventory by the pomme-inventory fork, which only
# azalea-entity and the test-only azalea-protocol still need; the second
# patch table substitutes them under the azalea git workspace's own path
# dependencies too.
[patch.crates-io]
azalea-buf = { git = "https://github.com/azalea-rs/azalea", rev = "ffedf17c9b6ff9fbafbf7e0d14c8d2366b2d0a32" }
azalea-protocol = { git = "https://github.com/azalea-rs/azalea", rev = "ffedf17c9b6ff9fbafbf7e0d14c8d2366b2d0a32" }
azalea-crypto = { git = "https://github.com/azalea-rs/azalea", rev = "ffedf17c9b6ff9fbafbf7e0d14c8d2366b2d0a32" }
azalea-auth = { git = "https://github.com/azalea-rs/azalea", rev = "ffedf17c9b6ff9fbafbf7e0d14c8d2366b2d0a32" }
azalea-entity = { git = "https://github.com/azalea-rs/azalea", rev = "ffedf17c9b6ff9fbafbf7e0d14c8d2366b2d0a32" }
azalea-block = { path = "pomme-block" }
azalea-chat = { git = "https://github.com/azalea-rs/azalea", rev = "ffedf17c9b6ff9fbafbf7e0d14c8d2366b2d0a32" }
azalea-core = { git = "https://github.com/azalea-rs/azalea", rev = "ffedf17c9b6ff9fbafbf7e0d14c8d2366b2d0a32" }
azalea-registry = { path = "pomme-registry/azalea-compat" }
azalea-inventory = { path = "pomme-inventory" }
[patch."https://github.com/azalea-rs/azalea"]
azalea-block = { path = "pomme-block" }
azalea-registry = { path = "pomme-registry/azalea-compat" }
azalea-inventory = { path = "pomme-inventory" }
[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
# The release build with symbols, for `just profile`.
[profile.samply]
inherits = "release"
debug = true
# 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