-
Notifications
You must be signed in to change notification settings - Fork 5
/
Cargo.toml
65 lines (53 loc) · 1.17 KB
/
Cargo.toml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
[package]
name = "pxar"
version = "0.12.0"
authors = ["Wolfgang Bumiller <[email protected]>"]
edition = "2021"
license = "AGPL-3"
description = "Proxmox Archive format support library"
exclude = [
"build",
"debian",
"testdir",
]
[[example]]
name = "apxar"
path = "examples/apxar.rs"
required-features = [ "async-example" ]
[[example]]
name = "pxarcmd"
path = "examples/pxarcmd.rs"
[[example]]
name = "mk-format-hashes"
path = "examples/mk-format-hashes.rs"
test = false
bench = false
doc = false
[[test]]
name = "simple"
path = "tests/simple/main.rs"
test = true
required-features = [ "test-harness" ]
[[test]]
name = "compat"
path = "tests/compat.rs"
test = true
required-features = [ "test-harness" ]
[dependencies]
endian_trait = { version = "0.6", features = ["arrays"] }
siphasher = "0.3"
tokio = { version = "1.0", optional = true, default-features = false }
[target.'cfg(target_os = "linux")'.dependencies]
libc = "0.2"
[features]
default = [ "tokio-io" ]
tokio-io = [ "tokio" ]
tokio-fs = [ "tokio-io", "tokio/fs" ]
full = [ "tokio-fs"]
async-example = [
"tokio-io",
"tokio-fs",
"tokio/rt-multi-thread",
"tokio/macros",
]
test-harness = []