forked from dyz1990/sevenz-rust
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Cargo.toml
43 lines (37 loc) · 1.1 KB
/
Cargo.toml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
[package]
description = "A 7z decompressor/compressor written in pure rust"
edition = "2021"
homepage = "https://github.com/dyz1990/sevenz-rust"
keywords = ["7z", "7zip", "sevenz", "decompress"]
license = "Apache-2.0"
name = "sevenz-rust"
readme = "README.md"
repository = "https://github.com/dyz1990/sevenz-rust"
version = "0.2.11"
[lib]
crate-type = ["cdylib", "rlib"]
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
[features]
aes256 = ["aes", "cbc"]
bzip2 = ["dep:bzip2"]
compress = ["lzma-rust/encoder"]
default = ["compress"]
[dependencies]
aes = {version = "0.8", optional = true}
bit-set = "0.5.3"
byteorder = "1.4"
bzip2 = {version = "0.4", optional = true}
cbc = {version = "0.1", optional = true}
crc = "3.0.0"
lzma-rust = {path = "lzma-rust", default-features = false, version = "0.1.1"}
sha2 = {version = "^0.9"}
zstd = {version = "0.12.3", optional = true}
filetime_creation = "0.1"
nt-time = "0.4.1"
[target.'cfg(target_arch = "wasm32")'.dependencies]
js-sys = "0.3.60"
wasm-bindgen = "0.2"
[dev-dependencies]
tempfile = "3.3.0"
[[example]]
name = "compress"