Repository navigation
Expand file tree
/
Copy pathCargo.toml
More file actions
47 lines (44 loc) · 1.58 KB
/
Copy pathCargo.toml
File metadata and controls
47 lines (44 loc) · 1.58 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
[workspace]
members = [
"crates/rabbit",
"crates/rabbit-cli",
"crates/rabbit-core",
"crates/rabbit-platform",
"crates/rabbit-ui-wxdragon",
]
resolver = "3"
[workspace.package]
edition = "2024"
rust-version = "1.99"
license = "MIT OR Apache-2.0"
version = "0.4.3"
[profile.release]
# Optimize the user-facing binary for download size first, runtime second.
# `opt-level = "z"` minimizes code size, fat LTO + a single codegen unit let
# the linker drop unused functions across crate boundaries, `strip = "symbols"`
# removes debug names from the final binary, and `panic = "abort"` skips the
# unwinding tables.
opt-level = "z"
lto = "fat"
codegen-units = 1
strip = "symbols"
panic = "abort"
[workspace.dependencies]
clap = { version = "4.5", features = ["derive"] }
fluent-bundle = "0.16"
reqwest = { version = "0.12", default-features = false, features = ["blocking", "json", "rustls-tls"] }
serde = { version = "1.0", features = ["derive"] }
serde_json = "1.0"
sha2 = "0.10"
sysinfo = "0.33"
tempfile = "3.10"
thiserror = "1.0"
unic-langid = "0.9"
# Pinned exactly: 0.9.19 is the first release with wxEVT_CHAR_HOOK (window-level
# key handling, needed for the expert-mode chord), and 0.9.22 reworks DataView
# ownership - the macOS package tree, which the Windows build never compiles.
# wxdragon only asks for ^0.9.19 of wxdragon-sys and wxdragon-macros, so a
# plain `cargo update` pulls them to 0.9.22 behind this pin. Cargo.lock holds
# all three at 0.9.19; after any update, check they still match.
wxdragon = "=0.9.19"
zip = { version = "2", default-features = false, features = ["deflate"] }