[[bench]]
harness = false
name = "create_extract"
path = "benches/create_extract.rs"
[dependencies.aes]
version = "0.8.4"
[dependencies.argon2]
features = ["std"]
version = "0.5.3"
[dependencies.arrayvec]
version = "0.7.6"
[dependencies.camellia]
version = "0.1.0"
[dependencies.camino]
version = "1.2.1"
[dependencies.cbc]
features = ["std"]
version = "0.1.2"
[dependencies.cipher]
version = "0.4.4"
[dependencies.crc32fast]
version = "1.5.0"
[dependencies.crypto-common]
default-features = false
version = "0.1.6"
[dependencies.ctr]
features = ["std"]
version = "0.9.2"
[dependencies.flate2]
version = "1.1.5"
[dependencies.futures-io]
optional = true
version = "0.3.31"
[dependencies.futures-util]
features = ["io"]
optional = true
version = "0.3.31"
[dependencies.liblzma]
features = ["static"]
version = "0.4.5"
[dependencies.password-hash]
default-features = false
version = "0.5.0"
[dependencies.pbkdf2]
features = ["simple"]
version = "0.12.2"
[dependencies.rand]
version = "0.8.5"
[dependencies.rand_chacha]
version = "0.3.1"
[dependencies.time]
version = "0.3.44"
[dependencies.zstd]
default-features = false
version = "0.13.3"
[dev-dependencies.criterion]
default-features = false
features = ["cargo_bench_support", "plotters"]
version = "0.7.0"
[dev-dependencies.version-sync]
version = "0.9.5"
[[example]]
name = "async_io"
path = "examples/async_io.rs"
required-features = ["unstable-async"]
[[example]]
name = "change_compression_method"
path = "examples/change_compression_method.rs"
[features]
unstable-async = ["dep:futures-io", "dep:futures-util"]
zlib-ng = ["flate2/zlib-ng"]
[lib]
name = "libpna"
path = "src/lib.rs"
[package]
autobenches = false
autobins = false
autoexamples = false
autolib = false
autotests = false
build = false
categories = ["data-structures", "filesystem"]
description = "PNA(Portable-Network-Archive) decoding and encoding library"
edition = "2021"
keywords = ["pna", "archive", "crypto", "data"]
license = "Apache-2.0 OR MIT"
name = "libpna"
readme = "README.md"
repository = "https://github.com/ChanTsune/Portable-Network-Archive.git"
rust-version = "1.82"
version = "0.28.2"
[target.'cfg(all(target_family = "wasm", target_os = "unknown"))'.dev-dependencies.wasm-bindgen-test]
version = "0.3.55"
[target.'cfg(not(target_family = "wasm"))'.dev-dependencies.tokio]
features = ["macros", "rt-multi-thread", "fs", "io-util"]
version = "1.48.0"
[target.'cfg(not(target_family = "wasm"))'.dev-dependencies.tokio-util]
features = ["compat"]
version = "0.7.16"
[target.'cfg(not(target_os = "emscripten"))'.dependencies.pbkdf2]
features = ["simple", "parallel"]
version = "0.12.2"
[target.'cfg(target_family = "wasm")'.dependencies.getrandom]
features = ["js"]
version = "0.2"
[target.'cfg(target_family = "wasm")'.dependencies.liblzma]
features = ["wasm"]
version = "0.4.4"
[target.'cfg(target_family = "wasm")'.dependencies.zstd]
features = ["wasm"]
version = "0.13.2"
[[test]]
name = "copy_entries"
path = "tests/copy_entries.rs"
[[test]]
name = "extract_compatibility"
path = "tests/extract_compatibility.rs"
[[test]]
name = "extract_multipart_compatibility"
path = "tests/extract_multipart_compatibility.rs"
[[test]]
name = "extract_solid_compatibility"
path = "tests/extract_solid_compatibility.rs"