Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 6 additions & 0 deletions lib/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -60,6 +60,12 @@ dbg_macro = "deny"
# they ship accidentally. Closes the last common panic-causing macro not
# already covered by the no-panic lints above.
todo = "deny"
# Forbid `.map_err(|_| ...)`, which discards the original error instead of
# binding it. Network requests, checksum verification, and archive
# extraction are all failure-prone here, and the underlying error is
# exactly what a user or maintainer needs to debug a failed install;
# require `.map_err(|e| ...)` so it can be logged, wrapped, or preserved.
map_err_ignore = "deny"
# Allow pedantic lints that are too noisy for this codebase
missing_errors_doc = "allow"
missing_panics_doc = "allow"
Expand Down
Loading