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