5
0
mirror of git://git.proxmox.com/git/pxar.git synced 2025-01-05 17:17:39 +03:00
pxar/Cargo.toml
Wolfgang Bumiller 2fd112ac9a add Device::from_dev_t
Signed-off-by: Wolfgang Bumiller <w.bumiller@proxmox.com>
2020-04-24 14:40:17 +02:00

45 lines
898 B
TOML

[package]
name = "pxar"
version = "0.1.0"
authors = ["Wolfgang Bumiller <w.bumiller@proxmox.com>"]
edition = "2018"
exclude = [
"testdir",
]
[[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"
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",
]
[dev-dependencies]
libc = "0.2"
anyhow = "1.0"