Show More
@@ -388,7 +388,7 b' dependencies = [' | |||||
388 | "itertools", |
|
388 | "itertools", | |
389 | "lazy_static", |
|
389 | "lazy_static", | |
390 | "log", |
|
390 | "log", | |
391 | "memmap", |
|
391 | "memmap2", | |
392 | "micro-timer", |
|
392 | "micro-timer", | |
393 | "pretty_assertions", |
|
393 | "pretty_assertions", | |
394 | "rand", |
|
394 | "rand", | |
@@ -512,13 +512,12 b' source = "registry+https://github.com/ru' | |||||
512 | checksum = "0ee1c47aaa256ecabcaea351eae4a9b01ef39ed810004e298d2511ed284b1525" |
|
512 | checksum = "0ee1c47aaa256ecabcaea351eae4a9b01ef39ed810004e298d2511ed284b1525" | |
513 |
|
513 | |||
514 | [[package]] |
|
514 | [[package]] | |
515 | name = "memmap" |
|
515 | name = "memmap2" | |
516 |
version = "0. |
|
516 | version = "0.3.1" | |
517 | source = "registry+https://github.com/rust-lang/crates.io-index" |
|
517 | source = "registry+https://github.com/rust-lang/crates.io-index" | |
518 | checksum = "6585fd95e7bb50d6cc31e20d4cf9afb4e2ba16c5846fc76793f11218da9c475b" |
|
518 | checksum = "00b6c2ebff6180198788f5db08d7ce3bc1d0b617176678831a7510825973e357" | |
519 | dependencies = [ |
|
519 | dependencies = [ | |
520 | "libc", |
|
520 | "libc", | |
521 | "winapi", |
|
|||
522 | ] |
|
521 | ] | |
523 |
|
522 | |||
524 | [[package]] |
|
523 | [[package]] |
@@ -29,7 +29,7 b' tempfile = "3.1.0"' | |||||
29 | crossbeam-channel = "0.4" |
|
29 | crossbeam-channel = "0.4" | |
30 | micro-timer = "0.3.0" |
|
30 | micro-timer = "0.3.0" | |
31 | log = "0.4.8" |
|
31 | log = "0.4.8" | |
32 |
memmap = "0. |
|
32 | memmap2 = "0.3.1" | |
33 | zstd = "0.5.3" |
|
33 | zstd = "0.5.3" | |
34 | format-bytes = "0.2.2" |
|
34 | format-bytes = "0.2.2" | |
35 |
|
35 |
@@ -5,7 +5,7 b'' | |||||
5 |
|
5 | |||
6 | //! Minimal `RevlogIndex`, readable from standard Mercurial file format |
|
6 | //! Minimal `RevlogIndex`, readable from standard Mercurial file format | |
7 | use hg::*; |
|
7 | use hg::*; | |
8 | use memmap::*; |
|
8 | use memmap2::*; | |
9 | use std::fs::File; |
|
9 | use std::fs::File; | |
10 | use std::ops::Deref; |
|
10 | use std::ops::Deref; | |
11 | use std::path::Path; |
|
11 | use std::path::Path; |
@@ -7,7 +7,7 b' use clap::*;' | |||||
7 | use hg::revlog::node::*; |
|
7 | use hg::revlog::node::*; | |
8 | use hg::revlog::nodemap::*; |
|
8 | use hg::revlog::nodemap::*; | |
9 | use hg::revlog::*; |
|
9 | use hg::revlog::*; | |
10 | use memmap::MmapOptions; |
|
10 | use memmap2::MmapOptions; | |
11 | use rand::Rng; |
|
11 | use rand::Rng; | |
12 | use std::fs::File; |
|
12 | use std::fs::File; | |
13 | use std::io; |
|
13 | use std::io; |
@@ -1,7 +1,7 b'' | |||||
1 | use crate::errors::{HgError, HgResultExt}; |
|
1 | use crate::errors::{HgError, HgResultExt}; | |
2 | use crate::requirements; |
|
2 | use crate::requirements; | |
3 | use bytes_cast::{unaligned, BytesCast}; |
|
3 | use bytes_cast::{unaligned, BytesCast}; | |
4 | use memmap::Mmap; |
|
4 | use memmap2::Mmap; | |
5 | use std::path::{Path, PathBuf}; |
|
5 | use std::path::{Path, PathBuf}; | |
6 |
|
6 | |||
7 | use super::revlog::RevlogError; |
|
7 | use super::revlog::RevlogError; |
@@ -1,5 +1,5 b'' | |||||
1 | use crate::errors::{HgError, IoErrorContext, IoResultExt}; |
|
1 | use crate::errors::{HgError, IoErrorContext, IoResultExt}; | |
2 | use memmap::{Mmap, MmapOptions}; |
|
2 | use memmap2::{Mmap, MmapOptions}; | |
3 | use std::io::ErrorKind; |
|
3 | use std::io::ErrorKind; | |
4 | use std::path::{Path, PathBuf}; |
|
4 | use std::path::{Path, PathBuf}; | |
5 |
|
5 |
General Comments 0
You need to be logged in to leave comments.
Login now