3 releases

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

#551 in Testing

Download history 3799/week @ 2024-08-14 3691/week @ 2024-08-21 4007/week @ 2024-08-28 4226/week @ 2024-09-04 3153/week @ 2024-09-11 3125/week @ 2024-09-18 4046/week @ 2024-09-25 4665/week @ 2024-10-02 3994/week @ 2024-10-09 4385/week @ 2024-10-16 3652/week @ 2024-10-23 3859/week @ 2024-10-30 3080/week @ 2024-11-06 3967/week @ 2024-11-13 2679/week @ 2024-11-20 3607/week @ 2024-11-27

13,814 downloads per month
Used in 32 crates (18 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