]> git.proxmox.com Git - pxar.git/blame - Cargo.toml
accessor: use aio Decoder in aio Accessor
[pxar.git] / Cargo.toml
CommitLineData
6cd4f635
WB
1[package]
2name = "pxar"
3version = "0.1.0"
4authors = ["Wolfgang Bumiller <w.bumiller@proxmox.com>"]
5edition = "2018"
fe8d3023
WB
6exclude = [
7 "testdir",
8]
6cd4f635
WB
9
10[[example]]
11name = "apxar"
12path = "examples/apxar.rs"
13required-features = [ "async-example" ]
14
15[dependencies]
16bitflags = "1.2.1"
17endian_trait = { version = "0.6", features = ["arrays"] }
6cd4f635
WB
18siphasher = "0.3"
19
62aaaa86 20anyhow = { version = "1.0", optional = true }
6cd4f635
WB
21futures = { version = "0.3.1", optional = true }
22tokio = { version = "0.2.10", optional = true, default-features = false }
23
24[features]
25default = [ "futures-io", "tokio-io" ]
26futures-io = [ "futures" ]
27tokio-io = [ "tokio" ]
54109840 28tokio-fs = [ "tokio-io", "tokio/fs" ]
2fb73e7b 29
ae3ab159
WB
30full = [ "tokio-fs", "futures-io" ]
31
6cd4f635 32async-example = [
62aaaa86 33 "anyhow",
6cd4f635
WB
34 "futures-io",
35 "tokio-io",
54109840 36 "tokio-fs",
6cd4f635
WB
37 "tokio/rt-threaded",
38 "tokio/io-driver",
39 "tokio/macros",
40]
2fd112ac
WB
41
42[dev-dependencies]
43libc = "0.2"
44anyhow = "1.0"