We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1590b3a commit cec3f19Copy full SHA for cec3f19
Cargo.toml
@@ -20,3 +20,6 @@ sha2 = "^0.10"
20
21
[dev-dependencies]
22
rstest = "~0.24"
23
+
24
+[lints.rust]
25
+ unexpected_cfgs = { level = "warn", check-cfg = ['cfg(tarpaulin_include)'] }
src/lib.rs
@@ -760,6 +760,7 @@ impl JarmRng for TestRng { // Mocked Rng used in tests
760
}
761
762
763
+#[cfg(not(tarpaulin_include))] // disable coverage
764
impl JarmRng for PseudoRng { // Real Rng used outside of tests
765
fn random_bytes(&self) -> Vec<u8> {
766
let mut rng = rand::rng();
0 commit comments