diff options
author | Karl-Johan Karlsson <creideiki@ferretporn.se> | 2022-08-06 21:28:41 +0200 |
---|---|---|
committer | Karl-Johan Karlsson <creideiki@ferretporn.se> | 2022-08-06 21:28:41 +0200 |
commit | 4322bfc790d5c81485f3d10382d47af7cd69fd23 (patch) | |
tree | 0efa13d970b1b24f2d67e24c475014a3efbf1d94 /src/hex/hex_view.rs | |
parent | f09b8cabfe7096ec9547d6ea5f670a0681a43f12 (diff) |
Switch from memmap to memmap2
memmap is unmaintained, according to RUSTSEC-2020-0077. memmap2
retains the same API.
Diffstat (limited to 'src/hex/hex_view.rs')
-rw-r--r-- | src/hex/hex_view.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/hex/hex_view.rs b/src/hex/hex_view.rs index 66de990..05b85f1 100644 --- a/src/hex/hex_view.rs +++ b/src/hex/hex_view.rs @@ -11,7 +11,7 @@ use { style::{Color, Print, SetForegroundColor}, QueueableCommand, }, - memmap::Mmap, + memmap2::Mmap, std::{ fs::File, io, |