# THIS FILE IS AUTOMATICALLY GENERATED BY CARGO # # When uploading crates to the registry Cargo will automatically # "normalize" Cargo.toml files for maximal compatibility # with all versions of Cargo and also rewrite `path` dependencies # to registry (e.g., crates.io) dependencies. # # If you are reading this file be aware that the original Cargo.toml # will likely look very different (and much more reasonable). # See Cargo.toml.orig for the original contents. [package] edition = "2021" name = "archflow" version = "0.1.4" description = "Create a streamable Zip archive" homepage = "https://github.com/plrigaux/archflow" readme = "README.md" keywords = [ "async", "non-blocking", "zip", "tokio", ] categories = [ "compression", "asynchronous", "web-programming", ] license = "MIT" [lib] name = "archflow" path = "src/lib.rs" [[example]] name = "fs" path = "examples/fs.rs" [[example]] name = "hyper" path = "examples/hyper.rs" [[example]] name = "actix" path = "examples/actix.rs" [dependencies.async-compression] version = "0.4" features = [ "all-algorithms", "tokio", ] optional = true [dependencies.byteorder] version = "1.5" optional = true [dependencies.bzip2] version = "0.4.4" optional = true [dependencies.chrono] version = "0.4" [dependencies.crc32fast] version = "1.3" [dependencies.flate2] version = "1.0.28" features = ["rust_backend"] optional = true default-features = false [dependencies.tokio] version = "1.35" features = [ "io-util", "macros", "rt-multi-thread", "fs", ] [dependencies.xz2] version = "0.1.7" optional = true [dependencies.zstd] version = "0.13" optional = true [dev-dependencies.actix-web] version = "4" [dev-dependencies.hyper] version = "0.14" features = [ "tcp", "http1", "server", "stream", ] default-features = false [dev-dependencies.mime] version = "0.3.16" [dev-dependencies.tokio-util] version = "0.7" features = ["io"] default-features = false [features] default = [ "tokio", "std", ] experimental = ["dep:byteorder"] std = [ "dep:flate2", "dep:zstd", "dep:xz2", "dep:bzip2", ] tokio = ["dep:async-compression"]