No description
- Nix 63.2%
- Rust 32.6%
- Just 1.2%
- JavaScript 1%
- TypeScript 0.7%
- Other 1.3%
_integration.nix: - One runner per crate over the same crate2nix instance the lint check uses, rather than a second buildRustPackage compile of the whole workspace - testCrateFlags, testInputs and testPreRun are read by the runner alone, so asking for --include-ignored here and --list there costs another run of the binaries, not another build of them; both checks resolve to the same -test derivation - Postgres and typst go to the crates that want them, and the Postgres start is guarded because crate2nix runs testPreRun once per test executable _cargo-nix.nix: - allFeatures, because crate2nix resolves a member's features from its manifest alone while the suite this replaces ran under --all-features Coverage: - Counts now match cargo exactly, crate by crate: 36+9, 5, 8, 10, 8+5+9, 31+5 - Without allFeatures, qr-core's tests/store.rs is #![cfg(feature = "testing")] all the way down and compiled to a binary reporting zero tests, which passed - A planted failing test fails the check and names its file and line; stdenv sets pipefail, so the tee the runner pipes through does not swallow the status The workspace is now compiled once per flake check instead of three times: once by crate2nix for the binary, once by cargo clippy, once by cargo test. |
||
|---|---|---|
| .claude | ||
| .forgejo/workflows | ||
| .sqlx | ||
| chart/qr | ||
| crates | ||
| e2e | ||
| nix | ||
| .betterleaks.toml | ||
| .envrc | ||
| .gitignore | ||
| .mcp.json | ||
| Cargo.lock | ||
| Cargo.nix | ||
| Cargo.toml | ||
| CLAUDE.md | ||
| flake.lock | ||
| flake.nix | ||
| justfile | ||
| rust-toolchain.toml | ||