3 releases

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

#405 in Testing

Download history 8749/week @ 2024-03-14 8814/week @ 2024-03-21 8062/week @ 2024-03-28 5993/week @ 2024-04-04 6147/week @ 2024-04-11 5522/week @ 2024-04-18 4391/week @ 2024-04-25 3768/week @ 2024-05-02 4654/week @ 2024-05-09 4820/week @ 2024-05-16 4454/week @ 2024-05-23 4458/week @ 2024-05-30 4988/week @ 2024-06-06 3931/week @ 2024-06-13 3917/week @ 2024-06-20 3211/week @ 2024-06-27

16,899 downloads per month
Used in 26 crates (12 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