[repo] Workspace: cargo workspace, MPL-2.0 license, control and web placeholders
This commit is contained in:
+32
@@ -0,0 +1,32 @@
|
||||
[workspace]
|
||||
resolver = "3"
|
||||
members = ["crates/core", "crates/edge", "crates/control", "tests/diff"]
|
||||
|
||||
[workspace.package]
|
||||
version = "0.1.0"
|
||||
edition = "2024"
|
||||
rust-version = "1.88"
|
||||
license = "MPL-2.0"
|
||||
publish = false
|
||||
|
||||
[workspace.dependencies]
|
||||
ianitor-core = { path = "crates/core" }
|
||||
ianitor-edge = { path = "crates/edge" }
|
||||
serde = { version = "1.0.228", features = ["derive"] }
|
||||
serde_json = "1.0.145"
|
||||
toml = "1.2.1"
|
||||
thiserror = "2.0.17"
|
||||
url = "2.5.7"
|
||||
|
||||
[workspace.lints.rust]
|
||||
unsafe_code = "forbid"
|
||||
|
||||
[workspace.lints.clippy]
|
||||
# Hostile input never meets unwrap(): non-test code must handle every Result.
|
||||
unwrap_used = "deny"
|
||||
expect_used = "deny"
|
||||
panic = "deny"
|
||||
|
||||
[profile.release]
|
||||
lto = "thin"
|
||||
codegen-units = 1
|
||||
Reference in New Issue
Block a user