[[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 = "encryption_bench"
path = "benches/encryption_bench.rs"
required-features = ["encryption"]
[[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.aes]
optional = true
version = "0.8"
[dependencies.async-compression]
features = ["tokio", "deflate", "zstd"]
optional = true
version = "0.4"
[dependencies.aws-config]
features = ["behavior-version-latest"]
optional = true
version = "1.5"
[dependencies.aws-sdk-s3]
features = ["behavior-version-latest"]
optional = true
version = "1.80"
[dependencies.crc32fast]
version = "1.4"
[dependencies.ctr]
optional = true
version = "0.9"
[dependencies.flate2]
version = "1.0"
[dependencies.futures-util]
optional = true
version = "0.3"
[dependencies.google-cloud-auth]
optional = true
version = "0.17"
[dependencies.google-cloud-storage]
optional = true
version = "0.22"
[dependencies.hmac]
optional = true
version = "0.12"
[dependencies.pbkdf2]
features = ["simple"]
optional = true
version = "0.12"
[dependencies.pin-project-lite]
optional = true
version = "0.2"
[dependencies.sha1]
optional = true
version = "0.10"
[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_http_reader"
path = "examples/async_http_reader.rs"
[[example]]
name = "async_in_memory"
path = "examples/async_in_memory.rs"
[[example]]
name = "async_reader_advanced"
path = "examples/async_reader_advanced.rs"
[[example]]
name = "async_streaming"
path = "examples/async_streaming.rs"
[[example]]
name = "basic"
path = "examples/basic.rs"
[[example]]
name = "cloud_s3"
path = "examples/cloud_s3.rs"
required-features = ["cloud-s3"]
[[example]]
name = "concurrent_demo"
path = "examples/concurrent_demo.rs"
[[example]]
name = "encryption_advanced"
path = "examples/encryption_advanced.rs"
[[example]]
name = "encryption_basic"
path = "examples/encryption_basic.rs"
[[example]]
name = "network_simulation"
path = "examples/network_simulation.rs"
[[example]]
name = "perf_test"
path = "examples/perf_test.rs"
[[example]]
name = "verify_s3_upload"
path = "examples/verify_s3_upload.rs"
required-features = ["cloud-s3"]
[[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"]
cloud-all = ["cloud-s3", "cloud-gcs"]
cloud-gcs = ["async", "google-cloud-storage", "google-cloud-auth"]
cloud-s3 = ["async", "aws-config", "aws-sdk-s3"]
default = []
encryption = ["aes", "ctr", "hmac", "sha1", "pbkdf2"]
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 AES-256 encryption and async/await support - Read/write ZIP files with minimal memory footprint. Supports password protection, cloud storage, and Tokio runtime."
edition = "2021"
keywords = ["zip", "streaming", "compression", "encryption", "archive"]
license = "MIT"
name = "s-zip"
readme = "README.md"
repository = "https://github.com/KSD-CO/s-zip"
version = "0.7.0"
[[test]]
name = "async_reader_tests"
path = "tests/async_reader_tests.rs"
[[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"