-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathCargo.toml
More file actions
62 lines (54 loc) · 2.25 KB
/
Copy pathCargo.toml
File metadata and controls
62 lines (54 loc) · 2.25 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
[workspace]
resolver = "2"
members = [
"crates/synergismforkd_bignum",
"crates/synergismforkd_common",
"crates/synergismforkd_logic",
"crates/synergismforkd_save",
"crates/synergismforkd_ui",
"crates/synergismforkd_ui_web",
"crates/synergismforkd_ui_desktop",
"crates/synergismforkd_testkit",
]
[workspace.package]
version = "0.1.0"
edition = "2021"
rust-version = "1.95"
license = "MIT"
repository = "https://github.com/MaddisonM79/synergism_forkd"
[workspace.dependencies]
serde = { version = "1", default-features = false, features = ["derive", "alloc"] }
serde-big-array = { version = "0.5", default-features = false }
postcard = { version = "1", default-features = false, features = ["alloc"] }
# break-eternity-rs is project-controlled (owner: MaddisonM79). 0.4 adds
# `Decimal::from_string` / `FromStr` (used by the parity harness; available
# to the save layer). `^0.4` lets patch releases flow through.
break-eternity-rs = { version = "0.4", default-features = false }
rand = { version = "0.10", default-features = false, features = ["thread_rng"] }
rand_xoshiro = { version = "0.8", default-features = false, features = ["serde"] }
smallvec = { version = "1", default-features = false, features = ["serde"] }
base64 = { version = "0.22", default-features = false, features = ["std"] }
# UI tier (decision 2026-06-10): Dioxus only — dioxus-web in the browser,
# dioxus-desktop for the compiled app. No Tauri. Feature selection happens
# per crate: `ui` takes the renderer-free `lib` set, the shells add their
# renderer + launch features.
dioxus = { version = "0.7.9", default-features = false }
serde_json = { version = "1", default-features = false, features = ["alloc"] }
[workspace.lints.rust]
unused_crate_dependencies = "warn"
# CLAUDE.md mandates no unsafe; promote to forbid at the workspace boundary.
unsafe_code = "forbid"
[workspace.lints.clippy]
all = { level = "warn", priority = -1 }
[workspace.lints.rustdoc]
broken_intra_doc_links = "deny"
private_intra_doc_links = "deny"
[profile.release]
lto = "thin"
codegen-units = 1
# bignum-heavy tests are materially faster when deps compile at opt-level=1
# while workspace crates stay at 0 for fast incremental rebuild.
[profile.dev.package."*"]
opt-level = 1
[profile.test]
inherits = "dev"