diff --git a/Cargo.lock b/Cargo.lock index fbc4306df5..cd4324cf3c 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -87,7 +87,7 @@ dependencies = [ "cfg-if", "libc", "miniz_oxide", - "object", + "object 0.27.1", "rustc-demangle", ] @@ -1027,6 +1027,15 @@ dependencies = [ "memchr", ] +[[package]] +name = "object" +version = "0.28.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "7ce8b38d41f9f3618fc23f908faae61510f8d8ce2d99cbe910641e8f1971f084" +dependencies = [ + "memchr", +] + [[package]] name = "once_cell" version = "1.9.0" @@ -1139,7 +1148,7 @@ name = "proc_macro_api" version = "0.0.0" dependencies = [ "memmap2", - "object", + "object 0.28.1", "paths", "profile", "serde", @@ -1158,7 +1167,7 @@ dependencies = [ "libloading", "mbe", "memmap2", - "object", + "object 0.28.1", "paths", "proc_macro_api", "proc_macro_test", diff --git a/crates/proc_macro_api/Cargo.toml b/crates/proc_macro_api/Cargo.toml index f1f627dd4c..9dd0ca9044 100644 --- a/crates/proc_macro_api/Cargo.toml +++ b/crates/proc_macro_api/Cargo.toml @@ -10,6 +10,13 @@ rust-version = "1.56" doctest = false [dependencies] +object = { version = "0.28", default-features = false, features = [ + "std", + "read_core", + "elf", + "macho", + "pe", +] } serde = { version = "1.0", features = ["derive"] } serde_json = { version = "1.0", features = ["unbounded_depth"] } tracing = "0.1" @@ -22,8 +29,3 @@ stdx = { path = "../stdx", version = "0.0.0" } profile = { path = "../profile", version = "0.0.0" } # Intentionally *not* depend on anything salsa-related # base_db = { path = "../base_db", version = "0.0.0" } - -[dependencies.object] -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 be68a3a8e7..6877bca598 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.27", default-features = false, features = [ +object = { version = "0.28", default-features = false, features = [ "std", "read_core", "elf",