Add the benchmark baseline, the lint table, a typed error enum and the full CI gates

Merged
RI
16d ago
+1198-166

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]: clippy all and pedantic, and the six no-panic lints denied. Modules not yet converted carry a temporary #![expect] that fails once the module is clean.
  • Error is a thiserror enum, #[non_exhaustive]. The u32 conversions, the BLAS length asserts and the missing rho or labels in Model return 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 warnings pass.
  • Benchmarks, three runs: solver 2 training +1.5 percent, predict -2.2 to -3.0 percent, control -3.1 to -3.6 percent.