# 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 = "zipit" version = "0.4.0" authors = ["Scotow "] description = "Create and stream zip archives on the fly" homepage = "https://github.com/scotow/zipit" documentation = "https://docs.rs/zipit" readme = "README.md" keywords = [ "io", "async", "non-blocking", "zip", "archive", ] categories = [ "compression", "asynchronous", "web-programming", ] license = "MIT" repository = "https://github.com/scotow/zipit" [package.metadata.docs.rs] all-features = true rustdoc-args = [ "--cfg", "docsrs", ] [[example]] name = "futures" path = "examples/futures.rs" required-features = [ "futures-async-io", "chrono-datetime", ] [[example]] name = "fs" path = "examples/fs.rs" required-features = [ "tokio-async-io", "chrono-datetime", ] [[example]] name = "hyper" path = "examples/hyper.rs" required-features = [ "tokio-async-io", "chrono-datetime", ] [dependencies.chrono] version = "0.4" optional = true [dependencies.crc32fast] version = "1.2" [dependencies.futures-util] version = "0.3" features = ["io"] optional = true [dependencies.tokio] version = "1.17" features = ["io-util"] optional = true default-features = false [dev-dependencies.futures-util] version = "0.3" features = ["io"] [dev-dependencies.hyper] version = "0.14" features = [ "tcp", "http1", "server", "stream", ] default-features = false [dev-dependencies.tempfile] version = "3.8.0" [dev-dependencies.tokio] version = "1.17" features = [ "macros", "rt-multi-thread", "fs", ] [dev-dependencies.tokio-util] version = "0.7" features = ["io"] default-features = false [features] chrono-datetime = ["chrono"] futures-async-io = ["futures-util"] tokio-async-io = ["tokio"]