Skip to content

Commit 808bdc6

Browse files
authored
Upgrade to memmap2. (#67)
1 parent 5b3b629 commit 808bdc6

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

osmflatc/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ flate2 = "1.0.18"
2626
inlinable_string = "0.1.11"
2727
itertools = "0.10.3"
2828
log = "0.4.11"
29-
memmap = "0.7.0"
29+
memmap2 = "0.5.7"
3030
osmflat = "0.1.0"
3131
parking_lot = "0.11.0"
3232
pbr = "1.0.3"

osmflatc/src/main.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ use colored::*;
1414
use flatdata::FileResourceStorage;
1515
use itertools::Itertools;
1616
use log::info;
17-
use memmap::Mmap;
17+
use memmap2::Mmap;
1818
use pbr::ProgressBar;
1919

2020
use std::collections::{hash_map, HashMap};

0 commit comments

Comments
 (0)