]>
Commit | Line | Data |
---|---|---|
6cd4f635 WB |
1 | [package] |
2 | name = "pxar" | |
37f52caf | 3 | version = "0.1.5" |
6cd4f635 WB |
4 | authors = ["Wolfgang Bumiller <w.bumiller@proxmox.com>"] |
5 | edition = "2018" | |
707bad0d WB |
6 | license = "AGPL-3" |
7 | description = "Proxmox Archive format support library" | |
fe8d3023 | 8 | exclude = [ |
707bad0d WB |
9 | "build", |
10 | "debian", | |
fe8d3023 WB |
11 | "testdir", |
12 | ] | |
6cd4f635 WB |
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"] } | |
6cd4f635 WB |
22 | siphasher = "0.3" |
23 | ||
62aaaa86 | 24 | anyhow = { version = "1.0", optional = true } |
6cd4f635 WB |
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" ] | |
54109840 | 32 | tokio-fs = [ "tokio-io", "tokio/fs" ] |
2fb73e7b | 33 | |
ae3ab159 WB |
34 | full = [ "tokio-fs", "futures-io" ] |
35 | ||
6cd4f635 | 36 | async-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] | |
47 | libc = "0.2" | |
48 | anyhow = "1.0" |