-
Notifications
You must be signed in to change notification settings - Fork 27
/
Cargo.toml
64 lines (54 loc) · 2.17 KB
/
Cargo.toml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
[package]
name = "compress-tools"
version = "0.15.1"
authors = ["Jonathas-Conceicao <[email protected]>"]
description = "Utility functions for compressed and archive files handling"
repository = "https://github.com/OSSystems/compress-tools-rs"
homepage = "https://github.com/OSSystems/compress-tools-rs"
documentation = "https://docs.rs/compress-tools"
keywords = ["compression", "archive"]
license = "MIT OR Apache-2.0"
readme = "README.md"
edition = "2021"
build = "src/build.rs"
rust-version = "1.59.0"
[package.metadata.docs.rs]
all-features = true
targets = ["x86_64-unknown-linux-gnu"]
[package.metadata.playground]
all-features = true
[badges]
coveralls = { repository = "ossystems/compress-tools-rs" }
[dependencies]
derive_more = { version = "0.99", default-features = false, features = ["display", "from", "error"] }
async-trait = { version = "0.1.39", optional = true }
futures-channel = { version = "0.3.5", features = ["sink"], optional = true }
futures-core = { version = "0.3.5", optional = true }
futures-io = { version = "0.3.5", optional = true }
futures-util = { version = "0.3.5", features = ["sink", "io"], optional = true }
futures-executor = { version = "0.3.5", optional = true }
blocking = { version = "1.0.0", optional = true }
tokio = { version = "1.0.0", features = ["rt-multi-thread", "macros", "fs", "net"], optional = true }
tokio-util = { version = "0.7.0", features = ["compat"], optional = true }
libc = "0.2.86"
[features]
async_support = ["async-trait", "futures-channel", "futures-core", "futures-io", "futures-util", "futures-executor"]
futures_support = ["async_support", "blocking"]
tokio_support = ["async_support", "tokio", "tokio-util"]
static = []
[dev-dependencies]
tempfile = "3.1"
argh = "0.1"
async-std = { version = "1.6.3", features = ["attributes"] }
tokio = { version = "1.0.0", features = ["fs", "net"] }
encoding_rs = "0.8.32"
[target.'cfg(target_env = "msvc")'.build-dependencies]
vcpkg = "0.2"
[target.'cfg(not(target_env = "msvc"))'.build-dependencies]
pkg-config = "0.3"
[[example]]
name = "uncompress_service_futures"
required-features = ["futures_support"]
[[example]]
name = "uncompress_service_tokio"
required-features = ["tokio_support"]