[[bin]]
name = "zesven"
path = "src/bin/cli/main.rs"
required-features = ["cli"]
[dependencies.aes]
optional = true
version = "0.8"
[dependencies.async-compression]
features = ["tokio", "lzma", "deflate", "bzip2"]
optional = true
version = "0.4"
[dependencies.brotli]
optional = true
version = "6"
[dependencies.bzip2]
optional = true
version = "0.6"
[dependencies.cbc]
optional = true
version = "0.1"
[dependencies.clap]
features = ["derive", "env", "wrap_help", "string"]
optional = true
version = "4.5"
[dependencies.clap_complete]
optional = true
version = "4.5"
[dependencies.console]
optional = true
version = "0.15"
[dependencies.crc32fast]
version = "1"
[dependencies.crc64fast]
version = "1"
[dependencies.ctrlc]
optional = true
version = "3.4"
[dependencies.dialoguer]
optional = true
version = "0.11"
[dependencies.filetime]
version = "0.2"
[dependencies.flate2]
default-features = false
features = ["zlib-rs"]
optional = true
version = "1"
[dependencies.futures]
optional = true
version = "0.3"
[dependencies.getrandom]
optional = true
version = "0.2"
[dependencies.glob]
optional = true
version = "0.3"
[dependencies.indicatif]
optional = true
version = "0.17"
[dependencies.js-sys]
optional = true
version = "0.3"
[dependencies.log]
version = "0.4"
[dependencies.lru]
version = "0.12"
[dependencies.lz4_flex]
optional = true
version = "0.11"
[dependencies.lzma-rust2]
optional = true
version = "0.15"
[dependencies.pin-project-lite]
optional = true
version = "0.2"
[dependencies.ppmd-rust]
optional = true
version = "1"
[dependencies.rayon]
optional = true
version = "1.10"
[dependencies.regex]
optional = true
version = "1"
[dependencies.rpassword]
optional = true
version = "7.3"
[dependencies.serde_json]
optional = true
version = "1.0"
[dependencies.sha2]
optional = true
version = "0.10"
[dependencies.sysinfo]
default-features = false
features = ["system"]
optional = true
version = "0.32"
[dependencies.thiserror]
version = "2"
[dependencies.tokio]
features = ["fs", "io-util", "sync", "rt", "macros", "time", "rt-multi-thread"]
optional = true
version = "1.43"
[dependencies.tokio-util]
features = ["io", "compat"]
optional = true
version = "0.7"
[dependencies.walkdir]
optional = true
version = "2.5"
[dependencies.wasm-bindgen]
optional = true
version = "0.2"
[dependencies.wasm-bindgen-futures]
optional = true
version = "0.4"
[dependencies.web-sys]
features = ["File", "Blob", "FileReader", "ReadableStream", "WritableStream", "ReadableStreamDefaultReader", "ReadableStreamDefaultController", "WritableStreamDefaultWriter", "Window", "console"]
optional = true
version = "0.3.70"
[dependencies.zeroize]
optional = true
version = "1"
[dependencies.zstd]
optional = true
version = "0.13"
[dev-dependencies.proptest]
version = "1"
[dev-dependencies.rand]
version = "0.8"
[dev-dependencies.tempfile]
version = "3"
[dev-dependencies.wasm-bindgen-test]
version = "0.3"
[[example]]
name = "create_archive"
path = "examples/create_archive.rs"
[[example]]
name = "create_encrypted"
path = "examples/create_encrypted.rs"
[[example]]
name = "extract_selective"
path = "examples/extract_selective.rs"
[[example]]
name = "progress_callback"
path = "examples/progress_callback.rs"
[features]
aes = ["dep:aes", "dep:cbc", "dep:sha2", "dep:zeroize"]
async = ["dep:tokio", "dep:tokio-util", "dep:async-compression", "dep:pin-project-lite", "dep:futures"]
brotli = ["dep:brotli"]
bzip2 = ["dep:bzip2"]
cli = ["dep:clap", "dep:clap_complete", "dep:indicatif", "dep:rpassword", "dep:glob", "dep:serde_json", "dep:console", "dep:dialoguer", "dep:ctrlc", "dep:walkdir"]
default = ["lzma", "lzma2", "deflate", "bzip2", "ppmd", "aes", "parallel"]
deflate = ["dep:flate2"]
fast-lzma2 = ["lzma"]
lz4 = ["dep:lz4_flex"]
lzma = ["dep:lzma-rust2"]
lzma2 = ["lzma"]
parallel = ["dep:rayon"]
ppmd = ["dep:ppmd-rust"]
regex = ["dep:regex"]
sysinfo = ["dep:sysinfo"]
wasm = ["dep:wasm-bindgen", "dep:wasm-bindgen-futures", "dep:js-sys", "dep:web-sys", "getrandom/js"]
wasm-default = ["lzma", "lzma2", "deflate", "bzip2", "ppmd", "aes", "wasm"]
zstd = ["dep:zstd"]
[lib]
crate-type = ["cdylib", "rlib"]
name = "zesven"
path = "src/lib.rs"
[package]
authors = ["Andrey Akinshin <andrey.akinshin@gmail.com>"]
autobenches = false
autobins = false
autoexamples = false
autolib = false
autotests = false
build = false
categories = ["compression", "encoding"]
description = "A pure Rust implementation of the 7z archive format"
edition = "2024"
keywords = ["7z", "archive", "compression", "lzma", "7zip"]
license = "MIT OR Apache-2.0"
name = "zesven"
readme = "README.md"
repository = "https://github.com/AndreyAkinshin/zesven"
rust-version = "1.85"
version = "1.0.0"
[package.metadata.docs.rs]
all-features = true
rustdoc-args = ["--cfg", "docsrs"]
[target.'cfg(target_arch = "wasm32")'.dependencies]
[[test]]
name = "async_tests"
path = "tests/async_tests.rs"
[[test]]
name = "cli"
path = "tests/cli.rs"
[[test]]
name = "codec_combinations"
path = "tests/codec_combinations.rs"
[[test]]
name = "editing"
path = "tests/editing.rs"
[[test]]
name = "filter_roundtrip"
path = "tests/filter_roundtrip.rs"
[[test]]
name = "hardlink"
path = "tests/hardlink.rs"
[[test]]
name = "malformed_archives"
path = "tests/malformed_archives.rs"
[[test]]
name = "multivolume"
path = "tests/multivolume.rs"
[[test]]
name = "ntfs"
path = "tests/ntfs.rs"
[[test]]
name = "ownership"
path = "tests/ownership.rs"
[[test]]
name = "password_tests"
path = "tests/password_tests.rs"
[[test]]
name = "proptest_tests"
path = "tests/proptest_tests.rs"
[[test]]
name = "recovery"
path = "tests/recovery.rs"
[[test]]
name = "reference_archives"
path = "tests/reference_archives.rs"
[[test]]
name = "resource_limits"
path = "tests/resource_limits.rs"
[[test]]
name = "roundtrip"
path = "tests/roundtrip.rs"
[[test]]
name = "sfx"
path = "tests/sfx.rs"
[[test]]
name = "stats"
path = "tests/stats.rs"
[[test]]
name = "streaming"
path = "tests/streaming.rs"