3 releases

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

#912 in Testing

Download history 4311/week @ 2024-11-30 4179/week @ 2024-12-07 3348/week @ 2024-12-14 1523/week @ 2024-12-21 3543/week @ 2024-12-28 3545/week @ 2025-01-04 4064/week @ 2025-01-11 3689/week @ 2025-01-18 4478/week @ 2025-01-25 4292/week @ 2025-02-01 4676/week @ 2025-02-08 4072/week @ 2025-02-15 4371/week @ 2025-02-22 5310/week @ 2025-03-01 4873/week @ 2025-03-08 4334/week @ 2025-03-15

19,493 downloads per month
Used in 57 crates (31 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