archflow 0.0.2

Create a streamable Zip archive
Documentation
[package]
name = "archflow"
version = "0.0.2"
edition = "2021"
license = "MIT"
readme = "README.md"
description = "Create a streamable Zip archive"
categories = ["compression", "asynchronous", "archive", "web-programming"]
keywords = ["async", "non-blocking", "zip", "archive", "tokio"]
homepage = "https://github.com/plrigaux/archflow"

[lib]
name = "archflow"
path = "src/lib.rs"


[dependencies]
tokio = { version = "1.26", features = ["io-util", "macros", "rt-multi-thread", "fs"]}
crc32fast = "1.3"
chrono = "0.4"
async-compression = {version = "0.3.15", features = ["all-algorithms", "tokio"], optional = true }
flate2 = { version = "1.0.23", default-features = false, features =["rust_backend"], optional = true } 
bzip2 = { version = "0.4.4", optional = true }
xz2 = { version = "0.1.6", optional = true }
zstd = { version = "0.12.3", optional = true }
byteorder = { version = "1.4.3", optional = true }

[dev-dependencies]
tokio-util = { version = "0.7", default-features = false, features = ["io"] }
hyper = { version = "0.14", default-features = false, features = ["tcp", "http1", "server", "stream"] }
archflow = { path = ".", features = ["experimental"] }
actix-web = "4"
mime = "0.3.16"

[[example]]
name = "fs"
path = "examples/fs.rs"

[[example]]
name = "hyper"
path = "examples/hyper.rs"

[[example]]
name = "actix"
path = "examples/actix.rs"


[features]
default = ["tokio", "std"]
std = ["dep:flate2", "dep:zstd", "dep:xz2", "dep:bzip2"]
tokio = ["dep:async-compression"]
experimental = ["dep:byteorder"]