diff --git a/thorin-bin/Cargo.toml b/thorin-bin/Cargo.toml index 81debeb..8dd032e 100644 --- a/thorin-bin/Cargo.toml +++ b/thorin-bin/Cargo.toml @@ -11,7 +11,6 @@ edition = "2021" thorin = { path = "../thorin" } memmap2 = "0.5.0" -object = { version = "0.27.1", features = [ "archive", "read", "write", "compression" ] } structopt = "0.3.25" thiserror = "1.0.30" tracing = "0.1.29" @@ -19,6 +18,11 @@ tracing-subscriber = { version = "0.2.25", features = [ "env-filter" ] } tracing-tree = "0.1.10" typed-arena = "2.0.1" +[dependencies.object] +version = "0.27.1" +default-features = false +features = [ "archive", "read", "write", "compression" ] + [[bin]] name = "thorin" path = "src/main.rs" diff --git a/thorin/Cargo.toml b/thorin/Cargo.toml index d76032f..dbd7daf 100644 --- a/thorin/Cargo.toml +++ b/thorin/Cargo.toml @@ -8,7 +8,17 @@ version = "0.1.0" edition = "2021" [dependencies] -gimli = "0.26.1" indexmap = "1.7.0" -object = { version = "0.27.1", features = [ "archive", "read", "write", "compression" ] } tracing = "0.1.29" + +[dependencies.gimli] +version = "0.26.1" +default-features = false +# `gimli/std` pulls in `fallible-iterator` which we don't use, but can't opt out of, because of +# cargo#8832. +features = [ "read", "write", "std" ] + +[dependencies.object] +version = "0.27.1" +default-features = false +features = [ "archive", "read", "write", "compression" ]