test(M1): verify ID separation at compile time
Centralize the property-test dependency version and document the pure domain boundary with a compile-fail example. Validation: cargo test -p fader-core --doc --locked (1 compile-fail test passed); locked Cargo metadata and diff checks passed.
This commit is contained in:
parent
51c4dd9e97
commit
df8ed342cc
|
|
@ -14,6 +14,7 @@ publish = false
|
|||
fader-config = { path = "config" }
|
||||
fader-core = { path = "core" }
|
||||
midi = { path = "midi" }
|
||||
proptest = "1.11.0"
|
||||
ratatui = { version = "0.29.0", features = ["all-widgets", "serde"] }
|
||||
regex = "1.13.1"
|
||||
thiserror = "2.0.21"
|
||||
|
|
|
|||
|
|
@ -12,4 +12,4 @@ regex.workspace = true
|
|||
thiserror.workspace = true
|
||||
|
||||
[dev-dependencies]
|
||||
proptest = "1.11.0"
|
||||
proptest.workspace = true
|
||||
|
|
|
|||
|
|
@ -1,7 +1,13 @@
|
|||
//! Pure domain contracts for fader_master.
|
||||
//!
|
||||
//! This crate deliberately has no runtime, terminal, filesystem, MIDI, or
|
||||
//! native audio dependencies.
|
||||
//! Domain logic has no runtime, terminal, filesystem, or native audio/MIDI
|
||||
//! dependencies. Stable IDs are distinct types:
|
||||
//!
|
||||
//! ```compile_fail
|
||||
//! use fader_core::{ApplicationId, GroupId};
|
||||
//! let application = ApplicationId::new("music").unwrap();
|
||||
//! let group: GroupId = application;
|
||||
//! ```
|
||||
|
||||
#![forbid(unsafe_code)]
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue