5
0
mirror of git://git.proxmox.com/git/pxar.git synced 2025-01-05 17:17:39 +03:00
pxar/Cargo.toml

34 lines
747 B
TOML
Raw Normal View History

[package]
name = "pxar"
version = "0.1.0"
authors = ["Wolfgang Bumiller <w.bumiller@proxmox.com>"]
edition = "2018"
[[example]]
name = "apxar"
path = "examples/apxar.rs"
required-features = [ "async-example" ]
[dependencies]
bitflags = "1.2.1"
endian_trait = { version = "0.6", features = ["arrays"] }
siphasher = "0.3"
failure = { version = "0.1", 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" ]
async-example = [
"failure",
"futures-io",
"tokio-io",
"tokio/fs",
"tokio/rt-threaded",
"tokio/io-driver",
"tokio/macros",
]