[roads] The road model, validator, compiler and explain; proto's versioned CBOR messages; the via command
Road files in Pensum's strict header subset (unknown keys are errors, random ids), the directory and device snapshots, deny-by-default compilation to one plan per device, explain from the compiler's own grants, CBOR envelope v1 with version-first refusals. Tests: the six mandatory ones (validation fixtures for every rule, revocation, the least-privilege property against an independent oracle, determinism with golden plans, explain, custom round-trip), QA's attack cases, the protocol and the CLI.
This commit is contained in:
+30
@@ -0,0 +1,30 @@
|
||||
[workspace]
|
||||
resolver = "3"
|
||||
members = ["crates/roads", "crates/proto", "crates/via-cli"]
|
||||
|
||||
[workspace.package]
|
||||
version = "0.1.0"
|
||||
edition = "2024"
|
||||
rust-version = "1.88"
|
||||
license = "CPAL-1.0"
|
||||
repository = "https://gitea.marek-novak.cz/mnovak/via-core"
|
||||
publish = false
|
||||
|
||||
[workspace.dependencies]
|
||||
roads = { path = "crates/roads" }
|
||||
proto = { path = "crates/proto" }
|
||||
serde = { version = "1", features = ["derive"] }
|
||||
serde_json = "1"
|
||||
jiff = { version = "0.2", default-features = false, features = ["std"] }
|
||||
ipnet = "2"
|
||||
base64 = "0.22"
|
||||
ciborium = "0.2"
|
||||
sha2 = "0.10"
|
||||
proptest = "1"
|
||||
tempfile = "3"
|
||||
|
||||
[workspace.lints.rust]
|
||||
unsafe_code = "forbid"
|
||||
|
||||
[profile.release]
|
||||
codegen-units = 1
|
||||
Reference in New Issue
Block a user