Collapse the dual MIT OR Apache-2.0 licensing to MIT only (operator's choice): set the workspace `license` field to "MIT" (all crates inherit it), replace LICENSE-MIT + LICENSE-APACHE with a single LICENSE file, and update the README license section and the license badge. deny.toml keeps its permissive allow-list (that governs dependency licenses, which remain a mix of MIT/Apache-2.0/BSD/etc.); only its project-license comment changed. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01Djv3oncM4LxTS5tb61Ako6
34 lines
887 B
TOML
34 lines
887 B
TOML
[workspace]
|
|
resolver = "2"
|
|
members = [
|
|
"crates/alkane-core",
|
|
"crates/alkane-discovery",
|
|
"crates/alkane-access",
|
|
"crates/alkane-flash",
|
|
"crates/alkane-artifacts",
|
|
"crates/alkane-cli",
|
|
"crates/alkane-gui",
|
|
]
|
|
|
|
[workspace.package]
|
|
version = "0.1.0"
|
|
edition = "2021"
|
|
license = "MIT"
|
|
|
|
[workspace.dependencies]
|
|
thiserror = "2"
|
|
serde = { version = "1", features = ["derive"] }
|
|
sha2 = "0.10"
|
|
|
|
# Release binary: small, self-contained, and fast enough for a fleet GUI whose
|
|
# hot path is network I/O, not CPU (round 18 #12). opt-level "s" + fat LTO +
|
|
# one codegen unit + symbol stripping cut the binary substantially. panic stays
|
|
# "unwind" on purpose: the scan runs many miners on tokio tasks and the wx event
|
|
# dispatch relies on unwinding so one miner's panic never aborts the whole app.
|
|
[profile.release]
|
|
opt-level = "s"
|
|
lto = "fat"
|
|
codegen-units = 1
|
|
strip = true
|
|
|