Skip to content

Commit 837f38a

Browse files
authored
Allow choosing bzip2 rust backend
Signed-off-by: Elichai Turkel <[email protected]>
1 parent 77cde6a commit 837f38a

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

Cargo.toml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ time = { version = "0.3.37", default-features = false }
2727

2828
[dependencies]
2929
aes = { version = "0.8", optional = true }
30-
bzip2 = { version = "0.5.0", optional = true }
30+
bzip2 = { version = "0.5.0", default-features = false, optional = true }
3131
chrono = { version = "0.4", optional = true }
3232
constant_time_eq = { version = "0.3", optional = true }
3333
crc32fast = "1.4"
@@ -83,6 +83,8 @@ nt-time = ["dep:nt-time"]
8383
lzma = ["lzma-rs/stream"]
8484
unreserved = []
8585
xz = ["dep:xz2"]
86+
bzip2 = ["dep:bzip2", "bzip2/bzip2-sys"]
87+
bzip2-rs = ["dep:bzip2", "bzip2/bzip2-rs-sys"]
8688
default = [
8789
"aes-crypto",
8890
"bzip2",

0 commit comments

Comments
 (0)