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"]
1818stdin_fuzz = []
1919
2020[dependencies ]
21- afl = { version = " 0.12" , optional = true }
22- lightning = { path = " ../lightning" , features = [" regex" ] }
21+ lightning = { path = " ../lightning" , features = [" regex" , " hashbrown" ] }
2322lightning-rapid-gossip-sync = { path = " ../lightning-rapid-gossip-sync" }
2423bitcoin = { version = " 0.29.0" , features = [" secp-lowmemory" ] }
2524hex = " 0.3"
25+ hashbrown = " 0.8"
26+
27+ afl = { version = " 0.12" , optional = true }
2628honggfuzz = { version = " 0.5" , optional = true , default-features = false }
2729libfuzzer-sys = { version = " 0.4" , optional = true }
2830
Original file line number Diff line number Diff line change @@ -61,7 +61,7 @@ use bitcoin::secp256k1::Secp256k1;
6161
6262use std:: mem;
6363use std:: cmp:: { self , Ordering } ;
64- use std :: collections :: { HashSet , hash_map, HashMap } ;
64+ use hashbrown :: { HashSet , hash_map, HashMap } ;
6565use std:: sync:: { Arc , Mutex } ;
6666use std:: sync:: atomic;
6767use std:: io:: Cursor ;
Original file line number Diff line number Diff line change @@ -58,7 +58,7 @@ use bitcoin::secp256k1::ecdsa::RecoverableSignature;
5858use bitcoin:: secp256k1:: Secp256k1 ;
5959
6060use std:: cell:: RefCell ;
61- use std :: collections :: { HashMap , hash_map} ;
61+ use hashbrown :: { HashMap , hash_map} ;
6262use std:: convert:: TryInto ;
6363use std:: cmp;
6464use std:: sync:: { Arc , Mutex } ;
Original file line number Diff line number Diff line change @@ -29,7 +29,7 @@ use bitcoin::blockdata::constants::genesis_block;
2929use crate :: utils:: test_logger;
3030
3131use std:: convert:: TryInto ;
32- use std :: collections :: HashSet ;
32+ use hashbrown :: HashSet ;
3333use std:: sync:: Arc ;
3434use std:: sync:: atomic:: { AtomicUsize , Ordering } ;
3535
You can’t perform that action at this time.
0 commit comments