| 1 |
# THIS FILE IS AUTOMATICALLY GENERATED BY CARGO |
| 2 |
# |
| 3 |
# When uploading crates to the registry Cargo will automatically |
| 4 |
# "normalize" Cargo.toml files for maximal compatibility |
| 5 |
# with all versions of Cargo and also rewrite `path` dependencies |
| 6 |
# to registry (e.g., crates.io) dependencies. |
| 7 |
# |
| 8 |
# If you are reading this file be aware that the original Cargo.toml |
| 9 |
# will likely look very different (and much more reasonable). |
| 10 |
# See Cargo.toml.orig for the original contents. |
| 11 |
|
| 12 |
[package] |
| 13 |
edition = "2021" |
| 14 |
name = "async_zip" |
| 15 |
version = "0.0.18" |
| 16 |
authors = ["Harry [[email protected]]"] |
| 17 |
build = false |
| 18 |
autolib = false |
| 19 |
autobins = false |
| 20 |
autoexamples = false |
| 21 |
autotests = false |
| 22 |
autobenches = false |
| 23 |
description = "An asynchronous ZIP archive reading/writing crate." |
| 24 |
homepage = "https://github.com/Majored/rs-async-zip" |
| 25 |
documentation = "https://docs.rs/async_zip/" |
| 26 |
readme = "README.md" |
| 27 |
keywords = [ |
| 28 |
"async", |
| 29 |
"zip", |
| 30 |
"archive", |
| 31 |
"tokio", |
| 32 |
] |
| 33 |
categories = [ |
| 34 |
"asynchronous", |
| 35 |
"compression", |
| 36 |
] |
| 37 |
license = "MIT" |
| 38 |
repository = "https://github.com/Majored/rs-async-zip" |
| 39 |
|
| 40 |
[package.metadata.docs.rs] |
| 41 |
all-features = true |
| 42 |
rustdoc-args = [ |
| 43 |
"--cfg", |
| 44 |
"docsrs", |
| 45 |
] |
| 46 |
|
| 47 |
[features] |
| 48 |
bzip2 = ["async-compression/bzip2"] |
| 49 |
deflate = ["async-compression/deflate"] |
| 50 |
full = [ |
| 51 |
"chrono", |
| 52 |
"tokio-fs", |
| 53 |
"deflate", |
| 54 |
"bzip2", |
| 55 |
"lzma", |
| 56 |
"zstd", |
| 57 |
"xz", |
| 58 |
] |
| 59 |
full-wasm = [ |
| 60 |
"chrono", |
| 61 |
"deflate", |
| 62 |
"zstd", |
| 63 |
] |
| 64 |
lzma = ["async-compression/lzma"] |
| 65 |
tokio = [ |
| 66 |
"dep:tokio", |
| 67 |
"tokio-util", |
| 68 |
"tokio/io-util", |
| 69 |
] |
| 70 |
tokio-fs = ["tokio/fs"] |
| 71 |
xz = ["async-compression/xz"] |
| 72 |
zstd = ["async-compression/zstd"] |
| 73 |
|
| 74 |
[lib] |
| 75 |
name = "async_zip" |
| 76 |
path = "src/lib.rs" |
| 77 |
|
| 78 |
[[example]] |
| 79 |
name = "actix_multipart" |
| 80 |
path = "examples/actix_multipart.rs" |
| 81 |
|
| 82 |
[[example]] |
| 83 |
name = "cli_compress" |
| 84 |
path = "examples/cli_compress.rs" |
| 85 |
|
| 86 |
[[example]] |
| 87 |
name = "file_extraction" |
| 88 |
path = "examples/file_extraction.rs" |
| 89 |
|
| 90 |
[[test]] |
| 91 |
name = "compress_test" |
| 92 |
path = "tests/compress_test.rs" |
| 93 |
|
| 94 |
[[test]] |
| 95 |
name = "decompress_test" |
| 96 |
path = "tests/decompress_test.rs" |
| 97 |
|
| 98 |
[dependencies.async-compression] |
| 99 |
version = "0.4.2" |
| 100 |
features = ["futures-io"] |
| 101 |
optional = true |
| 102 |
default-features = false |
| 103 |
|
| 104 |
[dependencies.chrono] |
| 105 |
version = "0.4" |
| 106 |
features = ["clock"] |
| 107 |
optional = true |
| 108 |
default-features = false |
| 109 |
|
| 110 |
[dependencies.crc32fast] |
| 111 |
version = "1" |
| 112 |
|
| 113 |
[dependencies.futures-lite] |
| 114 |
version = "2.1.0" |
| 115 |
features = ["std"] |
| 116 |
default-features = false |
| 117 |
|
| 118 |
[dependencies.pin-project] |
| 119 |
version = "1" |
| 120 |
|
| 121 |
[dependencies.thiserror] |
| 122 |
version = "2" |
| 123 |
|
| 124 |
[dependencies.tokio] |
| 125 |
version = "1" |
| 126 |
optional = true |
| 127 |
default-features = false |
| 128 |
|
| 129 |
[dependencies.tokio-util] |
| 130 |
version = "0.7" |
| 131 |
features = ["compat"] |
| 132 |
optional = true |
| 133 |
|
| 134 |
[dev-dependencies.anyhow] |
| 135 |
version = "1" |
| 136 |
|
| 137 |
[dev-dependencies.derive_more] |
| 138 |
version = "1.0" |
| 139 |
features = [ |
| 140 |
"display", |
| 141 |
"error", |
| 142 |
] |
| 143 |
|
| 144 |
[dev-dependencies.env_logger] |
| 145 |
version = "0.11.2" |
| 146 |
|
| 147 |
[dev-dependencies.futures] |
| 148 |
version = "0.3" |
| 149 |
|
| 150 |
[dev-dependencies.sanitize-filename] |
| 151 |
version = "0.6" |
| 152 |
|
| 153 |
[dev-dependencies.tokio] |
| 154 |
version = "1" |
| 155 |
features = ["full"] |
| 156 |
|
| 157 |
[dev-dependencies.tokio-util] |
| 158 |
version = "0.7" |
| 159 |
features = ["compat"] |
| 160 |
|
| 161 |
[dev-dependencies.uuid] |
| 162 |
version = "1" |
| 163 |
features = [ |
| 164 |
"v4", |
| 165 |
"serde", |
| 166 |
] |
| 167 |
|
| 168 |
[dev-dependencies.zip] |
| 169 |
version = "5" |