From 80f9afa1ec5a9a6746f561a8f01b1dab1357cafa Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Lauren=C8=9Biu=20Nicola?= Date: Sat, 30 Oct 2021 09:02:45 +0300 Subject: [PATCH] Bump object avoid a duplicate dependency --- Cargo.lock | 15 +++------------ crates/proc_macro_api/Cargo.toml | 2 +- crates/proc_macro_srv/Cargo.toml | 2 +- 3 files changed, 5 insertions(+), 14 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index 57a5b9ebd5..afd1bbe6bc 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -87,7 +87,7 @@ dependencies = [ "cfg-if", "libc", "miniz_oxide", - "object 0.27.1", + "object", "rustc-demangle", ] @@ -1010,15 +1010,6 @@ dependencies = [ "libc", ] -[[package]] -name = "object" -version = "0.26.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "39f37e50073ccad23b6d09bcb5b263f4e76d3bb6038e4a3c08e52162ffa8abc2" -dependencies = [ - "memchr", -] - [[package]] name = "object" version = "0.27.1" @@ -1137,7 +1128,7 @@ name = "proc_macro_api" version = "0.0.0" dependencies = [ "memmap2", - "object 0.26.2", + "object", "paths", "profile", "serde", @@ -1156,7 +1147,7 @@ dependencies = [ "libloading", "mbe", "memmap2", - "object 0.26.2", + "object", "paths", "proc_macro_api", "proc_macro_test", diff --git a/crates/proc_macro_api/Cargo.toml b/crates/proc_macro_api/Cargo.toml index 42687355c3..f1f627dd4c 100644 --- a/crates/proc_macro_api/Cargo.toml +++ b/crates/proc_macro_api/Cargo.toml @@ -24,6 +24,6 @@ profile = { path = "../profile", version = "0.0.0" } # base_db = { path = "../base_db", version = "0.0.0" } [dependencies.object] -version = "0.26" +version = "0.27" default-features = false features = ["std", "read_core", "elf", "macho", "pe"] diff --git a/crates/proc_macro_srv/Cargo.toml b/crates/proc_macro_srv/Cargo.toml index 458bea1aa6..be68a3a8e7 100644 --- a/crates/proc_macro_srv/Cargo.toml +++ b/crates/proc_macro_srv/Cargo.toml @@ -10,7 +10,7 @@ rust-version = "1.56" doctest = false [dependencies] -object = { version = "0.26", default-features = false, features = [ +object = { version = "0.27", default-features = false, features = [ "std", "read_core", "elf",