5
0
mirror of git://git.proxmox.com/git/pxar.git synced 2025-01-05 17:17:39 +03:00
pxar/Cargo.toml
Fabian Grünbichler 5db2e175b2 bump version to 0.7.0-1
Signed-off-by: Fabian Grünbichler <f.gruenbichler@proxmox.com>
2021-01-14 15:26:40 +01:00

71 lines
1.3 KiB
TOML

[package]
name = "pxar"
version = "0.7.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 = "pxarcmd"
path = "examples/pxarcmd.rs"
required-features = [ "anyhow" ]
[[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" ]
[[test]]
name = "compat"
path = "tests/compat.rs"
test = true
required-features = [ "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 = "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 = [
"anyhow",
"tokio-io",
"tokio-fs",
"tokio/rt-multi-thread",
"tokio/macros",
]
test-harness = []