Skip to content

Commit a8d0e56

Browse files
committed
feat(nom5): use nom ver 5.0.0
1 parent 2938698 commit a8d0e56

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ byteorder = "1"
3434
futures = "0.1"
3535
log = "0.4"
3636
sodiumoxide = "0.2.2"
37-
nom = { git = "https://github.com/Geal/nom.git" }
37+
nom = "5.0"
3838
cookie-factory = "0.2"
3939
get_if_addrs = "0.5"
4040
parking_lot = "0.8"

src/toxcore/dht/codec.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -380,6 +380,7 @@ mod tests {
380380
#[test]
381381
fn codec_is_clonable() {
382382
crypto_init().unwrap();
383+
383384
let stats = Stats::new();
384385
let codec = DhtCodec::new(stats);
385386
let _codec_c = codec.clone();

0 commit comments

Comments
 (0)