Skip to content
night-porterPublic

About

Night Porter pack for Rust review: clippy, rustfmt, tests, unsafe, error handling, MSRV and Cargo.lock

Topics

Resources

Stars

0 stars

Watchers

0 watching

Forks

Latest commit

 

History

2 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Night Porter pack: Rust

clippy, rustfmt and tests on every fix, plus review of unsafe, error handling, MSRV, public API and Cargo.lock changes.

A Night Porter pack: prompts only, no code. Like every pack it can only make Night Porter stricter: it adds instructions and read-only gates, and can't skip its trust rules, checks or approvals.

nightporter market update
nightporter pack add rust

Then enable it in [defaults] or a repo file (repos/<forge>/<owner>/<repo>.toml):

packs = ["rust"]
step hook what it does
standards pre_fix error-handling style, // SAFETY: comments, MSRV, no surprise dependencies or API changes
check post_fix cargo fmt, cargo clippy --all-targets --locked -D warnings, cargo test --locked
review pre_push blocks undocumented unsafe and weakened tests/lints; asks before dependency, MSRV, edition or public API changes

Allow the cargo commands in your config (Claude Code only; Codex has no per-command list):

allow_commands = ["cargo fmt", "cargo clippy", "cargo test"]

Read every file before installing: they steer an agent that can edit your code. See Writing packs.

Licensed under either of Apache-2.0 or MIT, at your option.

About

Night Porter pack for Rust review: clippy, rustfmt, tests, unsafe, error handling, MSRV and Cargo.lock

Topics

Resources

Stars

0 stars

Watchers

0 watching

Forks

Contributors