Use non-deprecated memmap2 crate

`cargo audit` complains that `memmap` is unmaintained so switch to
RazrFalcon's maintained version.

Removes yet another edge on winapi
This commit is contained in:
kjeremy 2021-02-02 10:25:17 -05:00
parent a02a7a9aa6
commit 953883ca54
3 changed files with 6 additions and 7 deletions

View file

@ -12,7 +12,7 @@ doctest = false
[dependencies]
object = { version = "0.23", default-features = false, features = ["std", "read_core", "elf", "macho", "pe"] }
libloading = "0.6.0"
memmap = "0.7"
memmap2 = "0.2.0"
tt = { path = "../tt", version = "0.0.0" }
mbe = { path = "../mbe", version = "0.0.0" }

View file

@ -7,7 +7,7 @@ use std::{
};
use libloading::Library;
use memmap::Mmap;
use memmap2::Mmap;
use object::Object;
use proc_macro_api::ProcMacroKind;