File tree Expand file tree Collapse file tree 4 files changed +9
-6
lines changed Expand file tree Collapse file tree 4 files changed +9
-6
lines changed Original file line number Diff line number Diff line change @@ -12,13 +12,15 @@ rust-version = "1.71.1"
12
12
13
13
[dependencies ]
14
14
dlv-list = { version = " 0.5" , default-features = false }
15
- hashbrown = { version = " 0.14.0 " , default-features = false }
15
+ hashbrown = { version = " 0.15.2 " , default-features = false , features =[ " raw-entry " ] }
16
16
serde = { version = " 1" , optional = true , default-features = false }
17
17
18
18
[features ]
19
19
default = [" std" ]
20
20
std = [" dlv-list/std" ]
21
21
22
22
[dev-dependencies ]
23
- coverage-helper = " 0.2.0"
24
23
serde_test = " 1.0.144"
24
+
25
+ [lints .rust ]
26
+ unexpected_cfgs = { level = " warn" , check-cfg = [' cfg(coverage_nightly)' ] }
Original file line number Diff line number Diff line change 3
3
//!
4
4
//! See the type documentation for more information.
5
5
6
- #![ cfg_attr( coverage_nightly, feature( coverage_attribute) ) ]
6
+ #![ cfg_attr( all ( coverage_nightly, test ) , feature( coverage_attribute) ) ]
7
7
#![ cfg_attr( not( feature = "std" ) , no_std) ]
8
8
9
9
extern crate alloc;
Original file line number Diff line number Diff line change @@ -3524,8 +3524,8 @@ where
3524
3524
3525
3525
#[ allow( unused_results) ]
3526
3526
#[ cfg( all( test, feature = "std" ) ) ]
3527
+ #[ cfg_attr( coverage_nightly, coverage( off) ) ]
3527
3528
mod test {
3528
- use coverage_helper:: test;
3529
3529
3530
3530
use super :: * ;
3531
3531
@@ -5361,7 +5361,7 @@ mod test {
5361
5361
#[ test]
5362
5362
fn test_dummy_hasher_finish ( ) {
5363
5363
let hasher = DummyHasher ;
5364
- hasher. finish ( ) ;
5364
+ let _ = hasher. finish ( ) ;
5365
5365
}
5366
5366
5367
5367
#[ should_panic]
Original file line number Diff line number Diff line change 79
79
80
80
#[ allow( unused_results) ]
81
81
#[ cfg( all( test, feature = "std" ) ) ]
82
+ #[ cfg_attr( coverage_nightly, coverage( off) ) ]
82
83
mod test {
83
- use coverage_helper :: test ;
84
+
84
85
use serde_test:: { assert_de_tokens_error, assert_tokens, Token } ;
85
86
86
87
use super :: * ;
You can’t perform that action at this time.
0 commit comments