1 unstable release

0.1.0 May 29, 2022

#240 in Testing

Download history 112/week @ 2022-06-03 191/week @ 2022-06-10 109/week @ 2022-06-17 91/week @ 2022-06-24 151/week @ 2022-07-01 141/week @ 2022-07-08 149/week @ 2022-07-15 110/week @ 2022-07-22 91/week @ 2022-07-29 167/week @ 2022-08-05 80/week @ 2022-08-12 259/week @ 2022-08-19 189/week @ 2022-08-26 429/week @ 2022-09-02 585/week @ 2022-09-09 501/week @ 2022-09-16

1,780 downloads per month
Used in 4 crates

Apache-2.0 OR MIT

10KB
170 lines

coverage-helper

crates.io docs.rs license rustc build status

Helper for https://github.com/taiki-e/cargo-llvm-cov/issues/123.

Usage

Add this to your Cargo.toml:

[dev-dependencies]
coverage-helper = "0.1"

And add this to your crate root (lib.rs or main.rs):

#![cfg_attr(coverage_nightly, feature(no_coverage))]

Examples

use coverage_helper::test;

#[test]
fn my_test() {
    // ...
}

Expanded to:

#[cfg_attr(coverage_nightly, no_coverage)]
#[::core::prelude::v1::test]
fn my_test() {
    // ...
}

License

Licensed under either of Apache License, Version 2.0 or MIT license at your option.

Unless you explicitly state otherwise, any contribution intentionally submitted for inclusion in the work by you, as defined in the Apache-2.0 license, shall be dual licensed as above, without any additional terms or conditions.

No runtime deps