aboutsummaryrefslogtreecommitdiff
path: root/crates/proc_macro_srv
diff options
context:
space:
mode:
authorkjeremy <[email protected]>2021-02-02 15:25:17 +0000
committerkjeremy <[email protected]>2021-02-02 15:25:17 +0000
commit953883ca546ac0c860d171de26baf1121226091c (patch)
tree44fb974cd5cf5ced041a3f0097f015208169d3c5 /crates/proc_macro_srv
parenta02a7a9aa6250dd35f0e7d5ac7e83ee9711793e6 (diff)
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
Diffstat (limited to 'crates/proc_macro_srv')
-rw-r--r--crates/proc_macro_srv/Cargo.toml2
-rw-r--r--crates/proc_macro_srv/src/dylib.rs2
2 files changed, 2 insertions, 2 deletions
diff --git a/crates/proc_macro_srv/Cargo.toml b/crates/proc_macro_srv/Cargo.toml
index 83f9ead17..208489e0d 100644
--- a/crates/proc_macro_srv/Cargo.toml
+++ b/crates/proc_macro_srv/Cargo.toml
@@ -12,7 +12,7 @@ doctest = false
12[dependencies] 12[dependencies]
13object = { version = "0.23", default-features = false, features = ["std", "read_core", "elf", "macho", "pe"] } 13object = { version = "0.23", default-features = false, features = ["std", "read_core", "elf", "macho", "pe"] }
14libloading = "0.6.0" 14libloading = "0.6.0"
15memmap = "0.7" 15memmap2 = "0.2.0"
16 16
17tt = { path = "../tt", version = "0.0.0" } 17tt = { path = "../tt", version = "0.0.0" }
18mbe = { path = "../mbe", version = "0.0.0" } 18mbe = { path = "../mbe", version = "0.0.0" }
diff --git a/crates/proc_macro_srv/src/dylib.rs b/crates/proc_macro_srv/src/dylib.rs
index 4e719f3aa..00fcc7bdf 100644
--- a/crates/proc_macro_srv/src/dylib.rs
+++ b/crates/proc_macro_srv/src/dylib.rs
@@ -7,7 +7,7 @@ use std::{
7}; 7};
8 8
9use libloading::Library; 9use libloading::Library;
10use memmap::Mmap; 10use memmap2::Mmap;
11use object::Object; 11use object::Object;
12use proc_macro_api::ProcMacroKind; 12use proc_macro_api::ProcMacroKind;
13 13