[[bench]]
harness = false
name = "async_bench"
path = "benches/async_bench.rs"
required-features = ["async"]
[[bench]]
harness = false
name = "compression_bench"
path = "benches/compression_bench.rs"
[[bench]]
harness = false
name = "file_size_analysis"
path = "benches/file_size_analysis.rs"
[[bench]]
harness = false
name = "read_bench"
path = "benches/read_bench.rs"
[dependencies.async-compression]
features = ["tokio", "deflate", "zstd"]
optional = true
version = "0.4"
[dependencies.crc32fast]
version = "1.4"
[dependencies.flate2]
version = "1.0"
[dependencies.futures-util]
optional = true
version = "0.3"
[dependencies.pin-project-lite]
optional = true
version = "0.2"
[dependencies.tokio]
features = ["io-util", "fs"]
optional = true
version = "1.35"
[dependencies.zstd]
optional = true
version = "0.13"
[dev-dependencies.criterion]
features = ["html_reports"]
version = "0.5"
[dev-dependencies.tempfile]
version = "3.8"
[dev-dependencies.tokio]
features = ["macros", "rt-multi-thread"]
version = "1.35"
[dev-dependencies.tokio-test]
version = "0.4"
[[example]]
name = "arbitrary_writer"
path = "examples/arbitrary_writer.rs"
[[example]]
name = "async_basic"
path = "examples/async_basic.rs"
[[example]]
name = "async_in_memory"
path = "examples/async_in_memory.rs"
[[example]]
name = "async_streaming"
path = "examples/async_streaming.rs"
[[example]]
name = "basic"
path = "examples/basic.rs"
[[example]]
name = "concurrent_demo"
path = "examples/concurrent_demo.rs"
[[example]]
name = "network_simulation"
path = "examples/network_simulation.rs"
[[example]]
name = "perf_test"
path = "examples/perf_test.rs"
[[example]]
name = "zstd_compression"
path = "examples/zstd_compression.rs"
[features]
async = ["tokio", "async-compression", "futures-util", "pin-project-lite"]
async-zstd = ["async", "zstd-support", "async-compression/zstd"]
default = []
zstd-support = ["zstd"]
[lib]
name = "s_zip"
path = "src/lib.rs"
[package]
authors = ["Ton That Vu <ttvuhm@gmail.com>"]
autobenches = false
autobins = false
autoexamples = false
autolib = false
autotests = false
build = false
categories = ["compression", "encoding", "filesystem"]
description = "High-performance streaming ZIP library with async/await support - Read/write ZIP files with minimal memory footprint. Supports arbitrary writers and Tokio runtime."
edition = "2021"
keywords = ["zip", "streaming", "compression", "deflate", "archive"]
license = "MIT"
name = "s-zip"
readme = "README.md"
repository = "https://github.com/KSD-CO/s-zip"
version = "0.4.0"
[[test]]
name = "async_writer_tests"
path = "tests/async_writer_tests.rs"
[[test]]
name = "unzip_compat"
path = "tests/unzip_compat.rs"
[[test]]
name = "zip64_reader"
path = "tests/zip64_reader.rs"
[[test]]
name = "zstd_compression"
path = "tests/zstd_compression.rs"