File tree Expand file tree Collapse file tree 4 files changed +7
-5
lines changed Expand file tree Collapse file tree 4 files changed +7
-5
lines changed Original file line number Diff line number Diff line change @@ -18,11 +18,13 @@ libfuzzer_fuzz = ["libfuzzer-sys"]
18
18
stdin_fuzz = []
19
19
20
20
[dependencies ]
21
- afl = { version = " 0.12" , optional = true }
22
- lightning = { path = " ../lightning" , features = [" regex" ] }
21
+ lightning = { path = " ../lightning" , features = [" regex" , " hashbrown" ] }
23
22
lightning-rapid-gossip-sync = { path = " ../lightning-rapid-gossip-sync" }
24
23
bitcoin = { version = " 0.29.0" , features = [" secp-lowmemory" ] }
25
24
hex = " 0.3"
25
+ hashbrown = " 0.8"
26
+
27
+ afl = { version = " 0.12" , optional = true }
26
28
honggfuzz = { version = " 0.5" , optional = true , default-features = false }
27
29
libfuzzer-sys = { version = " 0.4" , optional = true }
28
30
Original file line number Diff line number Diff line change @@ -61,7 +61,7 @@ use bitcoin::secp256k1::Secp256k1;
61
61
62
62
use std:: mem;
63
63
use std:: cmp:: { self , Ordering } ;
64
- use std :: collections :: { HashSet , hash_map, HashMap } ;
64
+ use hashbrown :: { HashSet , hash_map, HashMap } ;
65
65
use std:: sync:: { Arc , Mutex } ;
66
66
use std:: sync:: atomic;
67
67
use std:: io:: Cursor ;
Original file line number Diff line number Diff line change @@ -58,7 +58,7 @@ use bitcoin::secp256k1::ecdsa::RecoverableSignature;
58
58
use bitcoin:: secp256k1:: Secp256k1 ;
59
59
60
60
use std:: cell:: RefCell ;
61
- use std :: collections :: { HashMap , hash_map} ;
61
+ use hashbrown :: { HashMap , hash_map} ;
62
62
use std:: convert:: TryInto ;
63
63
use std:: cmp;
64
64
use std:: sync:: { Arc , Mutex } ;
Original file line number Diff line number Diff line change @@ -29,7 +29,7 @@ use bitcoin::blockdata::constants::genesis_block;
29
29
use crate :: utils:: test_logger;
30
30
31
31
use std:: convert:: TryInto ;
32
- use std :: collections :: HashSet ;
32
+ use hashbrown :: HashSet ;
33
33
use std:: sync:: Arc ;
34
34
use std:: sync:: atomic:: { AtomicUsize , Ordering } ;
35
35
You can’t perform that action at this time.
0 commit comments