4 releases

0.0.4 Jan 15, 2026
0.0.3 Oct 28, 2021
0.0.2 Oct 25, 2021
0.0.1 Oct 25, 2021

#127 in Testing

Download history 9918/week @ 2025-10-20 10290/week @ 2025-10-27 9870/week @ 2025-11-03 11645/week @ 2025-11-10 12378/week @ 2025-11-17 13893/week @ 2025-11-24 15976/week @ 2025-12-01 19176/week @ 2025-12-08 18681/week @ 2025-12-15 11555/week @ 2025-12-22 12995/week @ 2025-12-29 19737/week @ 2026-01-05 23803/week @ 2026-01-12 28203/week @ 2026-01-19 28226/week @ 2026-01-26 27539/week @ 2026-02-02

108,684 downloads per month
Used in 329 crates (84 directly)

MIT license

3KB

Attribute macros to control how cargo-mutants mutates code.

For example, a function that is difficult to test, or has disruptive effects when mutated, can be marked with [macro@skip].


cargo-mutants #[mutants] attrs

crates.io

This small crate defines attributes that can be attached into Rust code to guide cargo-mutants.

The primary documentation is in the cargo-mutants crate.

No runtime deps