Skip to content

Commit 5a26d1d

Browse files
committed
Reduce dependencies for no features
1 parent 6ff8d00 commit 5a26d1d

File tree

1 file changed

+9
-9
lines changed

1 file changed

+9
-9
lines changed

objdiff-core/Cargo.toml

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -34,19 +34,19 @@ features = ["all"]
3434
anyhow = "1.0"
3535
bimap = { version = "0.6", features = ["serde"], optional = true }
3636
byteorder = "1.5"
37-
filetime = "0.2"
38-
flagset = "0.4"
39-
log = "0.4"
40-
memmap2 = "0.9"
37+
filetime = { version = "0.2", optional = true }
38+
flagset = { version = "0.4", optional = true }
39+
log = { version = "0.4", optional = true }
40+
memmap2 = { version = "0.9", optional = true }
4141
num-traits = "0.2"
4242
object = { version = "0.36", features = ["read_core", "std", "elf", "pe"], default-features = false }
4343
pbjson = { version = "0.7", optional = true }
4444
prost = { version = "0.13", optional = true }
45-
serde = { version = "1.0", features = ["derive"] }
46-
similar = { version = "2.6", default-features = false }
47-
strum = { version = "0.26", features = ["derive"] }
48-
wasm-bindgen = "0.2"
49-
tsify-next = { version = "0.5", default-features = false, features = ["js"] }
45+
serde = { version = "1.0", features = ["derive"], optional = true }
46+
similar = { version = "2.6", default-features = false, optional = true }
47+
strum = { version = "0.26", features = ["derive"], optional = true }
48+
wasm-bindgen = { version = "0.2", optional = true }
49+
tsify-next = { version = "0.5", default-features = false, features = ["js"], optional = true }
5050
console_log = { version = "1.0", optional = true }
5151
console_error_panic_hook = { version = "0.1", optional = true }
5252

0 commit comments

Comments
 (0)