]> git.proxmox.com Git - pxar.git/blob - Cargo.toml
import
[pxar.git] / Cargo.toml
1 [package]
2 name = "pxar"
3 version = "0.1.0"
4 authors = ["Wolfgang Bumiller <w.bumiller@proxmox.com>"]
5 edition = "2018"
6
7 [[example]]
8 name = "apxar"
9 path = "examples/apxar.rs"
10 required-features = [ "async-example" ]
11
12 [dependencies]
13 bitflags = "1.2.1"
14 endian_trait = { version = "0.6", features = ["arrays"] }
15 failure = "0.1"
16 siphasher = "0.3"
17
18 futures = { version = "0.3.1", optional = true }
19 tokio = { version = "0.2.10", optional = true, default-features = false }
20
21 [features]
22 default = [ "futures-io", "tokio-io" ]
23 futures-io = [ "futures" ]
24 tokio-io = [ "tokio" ]
25 async-example = [
26 "futures-io",
27 "tokio-io",
28 "tokio/fs",
29 "tokio/rt-threaded",
30 "tokio/io-driver",
31 "tokio/macros",
32 ]