# 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 = "zippity" version = "0.3.0" build = false autobins = false autoexamples = false autotests = false autobenches = false description = "Library for asynchronously creating a ZIP file on the fly." readme = "README.md" license = "MIT" repository = "https://github.com/bluecube/zippity" [lib] name = "zippity" path = "src/lib.rs" [[example]] name = "zip_directory" path = "examples/zip_directory.rs" [[test]] name = "actix_web" path = "tests/actix_web.rs" [[test]] name = "external" path = "tests/external.rs" [[test]] name = "tokio_file" path = "tests/tokio_file.rs" [[test]] name = "unzip" path = "tests/unzip.rs" [dependencies.actix-web] version = "4.5.1" optional = true default-features = false [dependencies.assert2] version = "0.3.11" [dependencies.bytes] version = "1.6.0" optional = true [dependencies.crc32fast] version = "1.3.2" [dependencies.futures-core] version = "0.3.30" optional = true default-features = false [dependencies.futures-util] version = "0.3.30" optional = true default-features = false [dependencies.http-range-header] version = "0.4.0" optional = true [dependencies.indexmap] version = "2.2.6" [dependencies.packed_struct] version = "0.10.1" [dependencies.pin-project] version = "1.1.3" [dependencies.proptest] version = "1.3.1" optional = true [dependencies.thiserror] version = "1.0.53" [dependencies.tokio] version = "1.32.0" default-features = false [dependencies.tokio-util] version = "0.7.10" features = ["io"] optional = true default-features = false [dev-dependencies.actix-test] version = "0.1.5" [dev-dependencies.actix-web] version = "4.5.1" default-features = false [dev-dependencies.assert_matches] version = "1.5.0" [dev-dependencies.async_http_range_reader] version = "0.7.1" [dev-dependencies.clap] version = "4.5.16" features = ["derive"] [dev-dependencies.proptest] version = "1.3.1" [dev-dependencies.reqwest] version = "0.12.5" [dev-dependencies.serde_json] version = "1.0.128" [dev-dependencies.tempfile] version = "3.10.1" [dev-dependencies.test-strategy] version = "0.3.1" [dev-dependencies.tokio] version = "1.32.0" features = [ "rt-multi-thread", "io-util", "macros", "process", ] [dev-dependencies.tokio-test] version = "0.4.3" [dev-dependencies.walkdir] version = "2.5.0" [dev-dependencies.zip] version = "0.6.6" [features] actix-web = [ "dep:actix-web", "bytes", "dep:http-range-header", "tokio/io-util", ] bytes = [ "dep:bytes", "dep:futures-core", "dep:tokio-util", ] default = ["tokio-file"] proptest = [ "dep:proptest", "bytes", ] tokio-file = [ "dep:futures-util", "tokio/fs", ]