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