# 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" rust-version = "1.77.2" name = "partialzip" version = "5.0.0" authors = ["marcograss"] build = false exclude = [ "/testdata", "/.cargo", ] autobins = false autoexamples = false autotests = false autobenches = false default-run = "partialzip" description = "Download single files from online zip archives or list the content" homepage = "https://github.com/marcograss/partialzip" documentation = "https://docs.rs/partialzip" readme = "README.md" keywords = [ "network", "utility", "io", "tool", "library", ] categories = [ "command-line-utilities", "compression", "encoding", "parsing", "parser-implementations", ] license = "MPL-2.0" repository = "https://github.com/marcograss/partialzip" [lib] name = "partialzip" path = "src/lib.rs" [[bin]] name = "partialzip" path = "src/bin/partialzip.rs" required-features = ["cmdline"] [[test]] name = "cli" path = "tests/cli.rs" [[bench]] name = "pz_benchmark" path = "benches/pz_benchmark.rs" harness = false [dependencies.anyhow] version = "1.0.87" optional = true [dependencies.bytesize] version = "1.3.0" [dependencies.chrono] version = "0.4.38" features = ["serde"] [dependencies.clap] version = "4.5.17" features = ["derive"] optional = true [dependencies.conv] version = "0.3.3" [dependencies.curl] version = "0.4.46" default-features = false [dependencies.env_logger] version = "0.11.5" optional = true [dependencies.indicatif] version = "0.17.8" optional = true [dependencies.log] version = "0.4.22" [dependencies.num-traits] version = "0.2.19" [dependencies.serde] version = "1.0.210" features = ["derive"] [dependencies.thiserror] version = "1.0.63" [dependencies.url] version = "2.5.2" [dependencies.zip] version = "1" features = [ "bzip2", "deflate", "zstd", ] default-features = false [dev-dependencies.actix-files] version = "0.6.6" [dev-dependencies.actix-web] version = "4.9.0" features = [] default-features = false [dev-dependencies.anyhow] version = "1.0.87" [dev-dependencies.assert_cmd] version = "2.0.16" [dev-dependencies.criterion] version = "0.5.1" [dev-dependencies.predicates] version = "3.1.2" [dev-dependencies.tempfile] version = "3.12.0" [dev-dependencies.tokio] version = "1.40.0" features = [ "macros", "rt-multi-thread", ] [features] cmdline = [ "dep:anyhow", "dep:clap", "dep:env_logger", ] default = [ "cmdline", "progressbar", ] progressbar = ["dep:indicatif"] rustls = ["curl/rustls"]