Debian Codegraph @

Cargo.toml.orig

raw
1 [package]
2 name = "async_zip"
3 version = "0.0.18"
4 edition = "2021"
5 authors = ["Harry [[email protected]]"]
6 repository = "https://github.com/Majored/rs-async-zip"
7 description = "An asynchronous ZIP archive reading/writing crate."
8 readme = "README.md"
9 license = "MIT"
10 documentation = "https://docs.rs/async_zip/"
11 homepage = "https://github.com/Majored/rs-async-zip"
12 keywords = ["async", "zip", "archive", "tokio"]
13 categories = ["asynchronous", "compression"]
14
15 [features]
16 full = ["chrono", "tokio-fs", "deflate", "bzip2", "lzma", "zstd", "xz", "deflate64"]
17
18 # All features that are compatible with WASM
19 full-wasm = ["chrono", "deflate", "zstd"]
20
21 tokio = ["dep:tokio", "tokio-util", "tokio/io-util"]
22 tokio-fs = ["tokio/fs"]
23
24 deflate = ["async-compression/deflate"]
25 bzip2 = ["async-compression/bzip2"]
26 lzma = ["async-compression/lzma"]
27 zstd = ["async-compression/zstd"]
28 xz = ["async-compression/xz"]
29 deflate64 = ["async-compression/deflate64"]
30
31 [package.metadata.docs.rs]
32 all-features = true
33 # defines the configuration attribute `docsrs`
34 rustdoc-args = ["--cfg", "docsrs"]
35
36 [dependencies]
37 crc32fast = "1"
38 futures-lite = { version = "2.1.0", default-features = false, features = ["std"] }
39 pin-project = "1"
40 thiserror = "2"
41
42 async-compression = { version = "0.4.2", default-features = false, features = ["futures-io"], optional = true }
43 chrono = { version = "0.4", default-features = false, features = ["clock"], optional = true }
44 tokio = { version = "1", default-features = false, optional = true }
45 tokio-util = { version = "0.7", features = ["compat"], optional = true }
46
47 [dev-dependencies]
48 # tests
49 tokio = { version = "1", features = ["full"] }
50 tokio-util = { version = "0.7", features = ["compat"] }
51 env_logger = "0.11.2"
52 zip = "2.1.5"
53
54 # shared across multiple examples
55 anyhow = "1"
56 sanitize-filename = "0.6"
57
58 # actix_multipart
59 actix-web = "4"
60 actix-multipart = "0.7"
61 futures = "0.3"
62 derive_more = { version = "1.0", features = ["display", "error"] }
63 uuid = { version = "1", features = ["v4", "serde"] }