- Extracted checks (clippy, doc, fmt, and toml-fmt) into modularized Nix files under `nix/checks`. - Updated `flake.nix` to import checks from the new modularized structure. - Improved clarity and maintainability by separating concerns for each check.
13 lines
124 B
Nix
13 lines
124 B
Nix
{
|
|
craneLib,
|
|
commonArgs,
|
|
cargoArtifacts,
|
|
}:
|
|
|
|
craneLib.cargoDoc (
|
|
commonArgs
|
|
// {
|
|
inherit cargoArtifacts;
|
|
}
|
|
)
|