mirror of
git://git.proxmox.com/git/pxar.git
synced 2024-12-22 21:33:50 +03:00
10086ac539
Signed-off-by: Wolfgang Bumiller <w.bumiller@proxmox.com>
64 lines
1.2 KiB
TOML
64 lines
1.2 KiB
TOML
[package]
|
|
name = "pxar"
|
|
version = "0.3.0"
|
|
authors = ["Wolfgang Bumiller <w.bumiller@proxmox.com>"]
|
|
edition = "2018"
|
|
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 = "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 = [ "anyhow", "test-harness" ]
|
|
|
|
[dependencies]
|
|
bitflags = "1.2.1"
|
|
endian_trait = { version = "0.6", features = ["arrays"] }
|
|
siphasher = "0.3"
|
|
|
|
anyhow = { version = "1.0", optional = true }
|
|
futures = { version = "0.3.1", optional = true }
|
|
tokio = { version = "0.2.10", optional = true, default-features = false }
|
|
|
|
[features]
|
|
default = [ "futures-io", "tokio-io" ]
|
|
futures-io = [ "futures" ]
|
|
tokio-io = [ "tokio" ]
|
|
tokio-fs = [ "tokio-io", "tokio/fs" ]
|
|
|
|
full = [ "tokio-fs", "futures-io" ]
|
|
|
|
async-example = [
|
|
"anyhow",
|
|
"futures-io",
|
|
"tokio-io",
|
|
"tokio-fs",
|
|
"tokio/rt-threaded",
|
|
"tokio/io-driver",
|
|
"tokio/macros",
|
|
]
|
|
|
|
test-harness = []
|
|
|
|
[dev-dependencies]
|
|
libc = "0.2"
|
|
anyhow = "1.0"
|