mati_core/lib.rs
1#![warn(clippy::all)]
2// `.unwrap()` discards context — production paths should propagate via `?`
3// or document the invariant with `.expect("reason")`. `expect_used` is
4// deliberately NOT enabled: `.expect("...")` is the sanctioned escape
5// valve for programmer-error invariants (rust-analyzer / ripgrep
6// convention). Gated on `not(test)` because inline `mod tests` modules
7// legitimately use `.unwrap()` everywhere. CI runs `-D warnings`, so any
8// new `.unwrap()` in production code is a hard failure on merge.
9#![cfg_attr(not(test), warn(clippy::unwrap_used))]
10
11pub mod analysis;
12pub mod graph;
13pub mod health;
14pub mod hooks;
15pub mod mcp;
16pub mod scaffold;
17pub mod search;
18pub mod store;