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