mirror of
https://github.com/storytold/pdfcraft.git
synced 2026-10-24 10:08:00 -06:00
Never crash: forbid unsafe, clippy.toml for tests, guard and craftrules link
Follows the owner's AGENTS.md §4 / CLAUDE.md rules with what the shared standard (craftrules/standards/never-crash.md) adds: why (lost work) and that it outranks feature work, the `unsafe` ban (workspace `unsafe_code = "forbid"`; no unsafe exists outside vendor/), the last-resort guard around commands and file import/export, the clippy ratchet attribute, and a root clippy.toml that lets tests use unwrap/expect/panic/indexing. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
co-authored by
Claude Opus 5.5
parent
d9d7caca22
commit
554969da72
+1
-1
@@ -66,7 +66,7 @@ egui_kittest = "0.36"
|
||||
rfd = "0.17"
|
||||
|
||||
[workspace.lints.rust]
|
||||
unsafe_code = "deny"
|
||||
unsafe_code = "forbid"
|
||||
|
||||
[workspace.lints.clippy]
|
||||
dbg_macro = "warn"
|
||||
|
||||
Reference in New Issue
Block a user