mirror of
https://github.com/rust-lang/rust-analyzer.git
synced 2025-09-28 12:54:58 +00:00
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:
parent
a02a7a9aa6
commit
953883ca54
3 changed files with 6 additions and 7 deletions
|
@ -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" }
|
||||
|
|
|
@ -7,7 +7,7 @@ use std::{
|
|||
};
|
||||
|
||||
use libloading::Library;
|
||||
use memmap::Mmap;
|
||||
use memmap2::Mmap;
|
||||
use object::Object;
|
||||
use proc_macro_api::ProcMacroKind;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue