2020-01-23 13:18:04 +03:00
[ package ]
name = "pxar"
2024-11-26 13:08:18 +03:00
version = "0.12.1"
2020-01-23 13:18:04 +03:00
authors = [ "Wolfgang Bumiller <w.bumiller@proxmox.com>" ]
2021-12-01 15:54:52 +03:00
edition = "2021"
2020-06-03 13:40:45 +03:00
license = "AGPL-3"
description = "Proxmox Archive format support library"
2020-03-05 12:46:18 +03:00
exclude = [
2020-06-03 13:40:45 +03:00
"build" ,
"debian" ,
2020-03-05 12:46:18 +03:00
"testdir" ,
]
2020-01-23 13:18:04 +03:00
[ [ example ] ]
name = "apxar"
path = "examples/apxar.rs"
required-features = [ "async-example" ]
2020-08-25 11:11:15 +03:00
[ [ example ] ]
name = "pxarcmd"
path = "examples/pxarcmd.rs"
2020-06-24 14:31:33 +03:00
[ [ example ] ]
name = "mk-format-hashes"
path = "examples/mk-format-hashes.rs"
test = false
bench = false
doc = false
2020-06-25 14:50:53 +03:00
[ [ test ] ]
name = "simple"
path = "tests/simple/main.rs"
test = true
2021-05-17 12:46:50 +03:00
required-features = [ "test-harness" ]
2020-06-25 14:50:53 +03:00
2020-08-25 11:11:15 +03:00
[ [ test ] ]
name = "compat"
path = "tests/compat.rs"
test = true
required-features = [ "test-harness" ]
2020-01-23 13:18:04 +03:00
[ dependencies ]
endian_trait = { version = "0.6" , features = [ "arrays" ] }
siphasher = "0.3"
2020-12-04 13:39:55 +03:00
tokio = { version = "1.0" , optional = true , default-features = false }
2020-01-23 13:18:04 +03:00
2020-08-25 11:11:15 +03:00
[ target . 'cfg(target_os = "linux")' . dependencies ]
libc = "0.2"
2020-01-23 13:18:04 +03:00
[ features ]
2021-01-11 15:59:49 +03:00
default = [ "tokio-io" ]
2020-01-23 13:18:04 +03:00
tokio-io = [ "tokio" ]
2020-03-18 18:10:28 +03:00
tokio-fs = [ "tokio-io" , "tokio/fs" ]
2020-03-05 13:10:52 +03:00
2021-01-11 15:59:49 +03:00
full = [ "tokio-fs" ]
2020-04-20 16:24:28 +03:00
2020-01-23 13:18:04 +03:00
async-example = [
"tokio-io" ,
2020-03-18 18:10:28 +03:00
"tokio-fs" ,
2020-12-04 13:39:55 +03:00
"tokio/rt-multi-thread" ,
2020-01-23 13:18:04 +03:00
"tokio/macros" ,
]
2020-04-24 15:40:17 +03:00
2020-06-25 14:50:53 +03:00
test-harness = [ ]