Add the benchmark baseline, the lint table, a typed error enum and the full CI gates
Merged
RI
16d ago+1198+1198+0123456789012345678901234567890123456789-166-166-012345678901234567890123456789
Card 2 of the migration to the osqp-rs standard.
benches/solvers.rs: train for solvers 0, 1, 2, 5, 11, predict, and an untouched control; baseline recorded before any source change.[lints]: clippyallandpedantic, and the six no-panic lints denied. Modules not yet converted carry a temporary#![expect]that fails once the module is clean.Erroris athiserrorenum,#[non_exhaustive]. Theu32conversions, the BLAS length asserts and the missingrhoorlabelsinModelreturn it instead of panicking. Tests unwrap the new results and check the same values.- CI: the gate list of osqp-rs and an MSRV job at current stable.
Proof
- All twelve solver parity tests pass: nextest 46 passed, 7 skipped (the ignored mutation checks), with and without default features. Doctests, fmt, clippy
-D warnings, deny, doc-D warningspass. - Benchmarks, three runs: solver 2 training +1.5 percent, predict -2.2 to -3.0 percent, control -3.1 to -3.6 percent.