aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--Cargo.lock12
-rw-r--r--crates/proc_macro_api/Cargo.toml2
-rw-r--r--crates/proc_macro_api/src/version.rs2
3 files changed, 3 insertions, 13 deletions
diff --git a/Cargo.lock b/Cargo.lock
index 1cfd704f6..0ca0b7b63 100644
--- a/Cargo.lock
+++ b/Cargo.lock
@@ -903,16 +903,6 @@ source = "registry+https://github.com/rust-lang/crates.io-index"
903checksum = "b16bd47d9e329435e309c58469fe0791c2d0d1ba96ec0954152a5ae2b04387dc" 903checksum = "b16bd47d9e329435e309c58469fe0791c2d0d1ba96ec0954152a5ae2b04387dc"
904 904
905[[package]] 905[[package]]
906name = "memmap"
907version = "0.7.0"
908source = "registry+https://github.com/rust-lang/crates.io-index"
909checksum = "6585fd95e7bb50d6cc31e20d4cf9afb4e2ba16c5846fc76793f11218da9c475b"
910dependencies = [
911 "libc",
912 "winapi",
913]
914
915[[package]]
916name = "memmap2" 906name = "memmap2"
917version = "0.2.2" 907version = "0.2.2"
918source = "registry+https://github.com/rust-lang/crates.io-index" 908source = "registry+https://github.com/rust-lang/crates.io-index"
@@ -1174,7 +1164,7 @@ dependencies = [
1174 "crossbeam-channel", 1164 "crossbeam-channel",
1175 "jod-thread", 1165 "jod-thread",
1176 "log", 1166 "log",
1177 "memmap", 1167 "memmap2",
1178 "object", 1168 "object",
1179 "profile", 1169 "profile",
1180 "serde", 1170 "serde",
diff --git a/crates/proc_macro_api/Cargo.toml b/crates/proc_macro_api/Cargo.toml
index 1ba1e4abd..2ce5eeedd 100644
--- a/crates/proc_macro_api/Cargo.toml
+++ b/crates/proc_macro_api/Cargo.toml
@@ -15,7 +15,7 @@ serde_json = { version = "1.0", features = ["unbounded_depth"] }
15log = "0.4.8" 15log = "0.4.8"
16crossbeam-channel = "0.5.0" 16crossbeam-channel = "0.5.0"
17jod-thread = "0.1.1" 17jod-thread = "0.1.1"
18memmap = "0.7.0" 18memmap2 = "0.2.0"
19object = { version = "0.23.0", default-features = false, features = ["std", "read_core", "elf", "macho", "pe", "unaligned"] } 19object = { version = "0.23.0", default-features = false, features = ["std", "read_core", "elf", "macho", "pe", "unaligned"] }
20snap = "1.0" 20snap = "1.0"
21 21
diff --git a/crates/proc_macro_api/src/version.rs b/crates/proc_macro_api/src/version.rs
index dcf8fae8f..6dbac50b4 100644
--- a/crates/proc_macro_api/src/version.rs
+++ b/crates/proc_macro_api/src/version.rs
@@ -6,7 +6,7 @@ use std::{
6 path::Path, 6 path::Path,
7}; 7};
8 8
9use memmap::Mmap; 9use memmap2::Mmap;
10use object::read::{File as BinaryFile, Object, ObjectSection}; 10use object::read::{File as BinaryFile, Object, ObjectSection};
11use snap::read::FrameDecoder as SnapDecoder; 11use snap::read::FrameDecoder as SnapDecoder;
12 12