diff options
author | kjeremy <[email protected]> | 2021-02-02 15:25:17 +0000 |
---|---|---|
committer | kjeremy <[email protected]> | 2021-02-02 15:25:17 +0000 |
commit | 953883ca546ac0c860d171de26baf1121226091c (patch) | |
tree | 44fb974cd5cf5ced041a3f0097f015208169d3c5 /crates | |
parent | a02a7a9aa6250dd35f0e7d5ac7e83ee9711793e6 (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')
-rw-r--r-- | crates/proc_macro_srv/Cargo.toml | 2 | ||||
-rw-r--r-- | crates/proc_macro_srv/src/dylib.rs | 2 |
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] |
13 | object = { version = "0.23", default-features = false, features = ["std", "read_core", "elf", "macho", "pe"] } | 13 | object = { version = "0.23", default-features = false, features = ["std", "read_core", "elf", "macho", "pe"] } |
14 | libloading = "0.6.0" | 14 | libloading = "0.6.0" |
15 | memmap = "0.7" | 15 | memmap2 = "0.2.0" |
16 | 16 | ||
17 | tt = { path = "../tt", version = "0.0.0" } | 17 | tt = { path = "../tt", version = "0.0.0" } |
18 | mbe = { path = "../mbe", version = "0.0.0" } | 18 | mbe = { 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 | ||
9 | use libloading::Library; | 9 | use libloading::Library; |
10 | use memmap::Mmap; | 10 | use memmap2::Mmap; |
11 | use object::Object; | 11 | use object::Object; |
12 | use proc_macro_api::ProcMacroKind; | 12 | use proc_macro_api::ProcMacroKind; |
13 | 13 | ||