3 releases

0.0.3 Oct 28, 2021
0.0.2 Oct 25, 2021
0.0.1 Oct 25, 2021

#409 in Testing

Download history 7128/week @ 2024-01-03 6541/week @ 2024-01-10 8532/week @ 2024-01-17 5640/week @ 2024-01-24 5102/week @ 2024-01-31 5643/week @ 2024-02-07 5828/week @ 2024-02-14 4651/week @ 2024-02-21 4799/week @ 2024-02-28 3424/week @ 2024-03-06 7194/week @ 2024-03-13 9694/week @ 2024-03-20 8019/week @ 2024-03-27 6412/week @ 2024-04-03 6505/week @ 2024-04-10 3940/week @ 2024-04-17

26,133 downloads per month
Used in 22 crates (9 directly)

MIT license

3KB

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.


lib.rs:

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].

Changelog

0.0.3

  • Reset edition to 2018 for broader compatibility.

No runtime deps