config: drop settings that restate a tool default #264
No reviewers
Labels
No labels
priority/P0
priority/P1
priority/P2
release/v0.1.0
status/blocked
status/planned
type/bug
type/design
type/test-gap
type/tracker
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
natsukium/felis!264
Loading…
Reference in a new issue
No description provided.
Delete branch "chore/trim-default-config"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
A sweep over the repository's tool configuration for settings that say
nothing: values identical to the tool's own default, a duplicated MSRV,
advisory ignores whose advisories are gone, and lint allows the lint
policy already grants. Each removal was verified against the tool rather
than against documentation.
What goes
Dead advisory ignores. wayland-scanner no longer pins quick-xml
^0.39, so RUSTSEC-2026-0194 and -0195 never reach the graph; cargo-deny
was emitting an
advisory-not-detectedwarning for each.The duplicated MSRV. Clippy reads
[workspace.package] rust-versionby itself, and prefers
clippy.toml'smsrvsilently when the twodiffer — so the duplicate was a second place to edit that could outvote
the manifest.
Settings equal to the tool's default: rustfmt's
max_widthandtab_spaces; cargo-deny'sdb-urls,confidence-threshold,[licenses] versionand[bans] multiple-versions; buf'sSTANDARDlint category. Removing all of them leaves
cargo deny checkoutputbyte-identical and
treefmta no-op. rustfmt'seditionis redundanttoo (treefmt passes
--edition 2024on the command line, which wins)but is kept so a bare
rustfmt <file>does not fall back to 2015 rules.newline_style = "Unix"stays: it is the only real deviation there, andthe Windows checkout depends on it.
104 module-level
#![allow(clippy::unwrap_used / expect_used)].clippy.tomlalready exempts every item in a bare#[cfg(test)]module — helper functions included, not just
#[test]ones.What deliberately stays
Clippy keys on the bare
cfg(test), so the eight allows under#[cfg(all(test, unix))]and#[cfg(all(test, feature = "schema"))]modules are load-bearing, as are those in
benches/**(never a testcontext) and in
tests/*.rs, where the helpers around the#[test]functions are not exempt. Where an allow also named
float_cmporcast_possible_wrap, only the in-test lints were dropped.Verification
just checkin full —fmt-check,lint,check-portable,prose-check,skill-check,test(3489 passed),deny,proto-compat-test,proto-compat,release-check-test— plusnix flake check, which rebuilds the MSRV derivation.