# THIS FILE IS AUTOMATICALLY GENERATED BY CARGO
#
# When uploading crates to the registry Cargo will automatically
# "normalize" Cargo.toml files for maximal compatibility
# with all versions of Cargo and also rewrite `path` dependencies
# to registry (e.g., crates.io) dependencies.
#
# If you are reading this file be aware that the original Cargo.toml
# will likely look very different (and much more reasonable).
# See Cargo.toml.orig for the original contents.

[package]
edition = "2024"
rust-version = "1.88"
name = "portable-network-archive"
version = "0.30.2"
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Portable-Network-Archive cli"
readme = "README.md"
keywords = [
    "pna",
    "archive",
    "cli",
    "crypto",
    "data",
]
categories = [
    "data-structures",
    "filesystem",
]
license = "Apache-2.0 OR MIT"
repository = "https://github.com/ChanTsune/Portable-Network-Archive.git"
resolver = "2"

[[package.metadata.release.pre-release-replacements]]
file = "src/lib.rs"
search = 'https://docs.rs/portable-network-archive/[0-9]+\.[0-9]+\.[0-9]+'
replace = "https://docs.rs/portable-network-archive/{{version}}"

[features]
acl = [
    "dep:exacl",
    "dep:field-offset",
    "windows/Win32_System_SystemServices",
]
memmap = ["dep:memmap2"]
zlib-ng = ["pna/zlib-ng"]

[lib]
name = "portable_network_archive"
path = "src/lib.rs"

[[bin]]
name = "pna"
path = "src/main.rs"

[[test]]
name = "cli"
path = "tests/cli/main.rs"

[[bench]]
name = "create"
path = "benches/create.rs"
harness = false

[[bench]]
name = "extract"
path = "benches/extract.rs"
harness = false

[[bench]]
name = "list"
path = "benches/list.rs"
harness = false

[[bench]]
name = "split"
path = "benches/split.rs"
harness = false

[dependencies.anstream]
version = "0.6.21"

[dependencies.anyhow]
version = "1.0.100"
features = ["backtrace"]

[dependencies.base64]
version = "0.22.1"

[dependencies.bitflags]
version = "2.10.0"

[dependencies.bstr]
version = "1.12.1"

[dependencies.bugreport]
version = "0.5.1"
features = [
    "collector_operating_system",
    "format_markdown",
]
default-features = false

[dependencies.bytesize]
version = "2.3.1"

[dependencies.chrono]
version = "0.4.43"

[dependencies.clap]
version = "4.5.54"
features = ["derive"]

[dependencies.clap_complete]
version = "4.5.65"

[dependencies.const-hex]
version = "1.17.0"

[dependencies.csv]
version = "1.3.1"

[dependencies.fern]
version = "0.7.1"

[dependencies.gix-prompt]
version = "0.12.0"

[dependencies.globset]
version = "0.4.18"

[dependencies.hooq]
version = "0.3.1"

[dependencies.ignore]
version = "0.4.25"

[dependencies.indexmap]
version = "2.13.0"

[dependencies.itertools]
version = "0.14.0"

[dependencies.jiff]
version = "0.2.18"

[dependencies.libc]
version = "0.2.180"

[dependencies.log]
version = "0.4.29"

[dependencies.memmap2]
version = "0.9.9"
optional = true

[dependencies.nom]
version = "8.0.0"

[dependencies.parse_datetime]
version = "0.13.3"

[dependencies.path-slash]
version = "0.2.1"

[dependencies.pna]
version = "0.30.0"

[dependencies.rand]
version = "0.8.5"

[dependencies.rayon]
version = "1.11.0"

[dependencies.regex]
version = "1.12.2"

[dependencies.scopeguard]
version = "1.2.0"

[dependencies.serde]
version = "1.0.228"
features = ["derive"]

[dependencies.serde_json]
version = "1.0.149"

[dependencies.tabled]
version = "0.20.0"
features = [
    "std",
    "ansi",
]
default-features = false

[dependencies.termtree]
version = "0.5"

[dependencies.thiserror]
version = "2.0.17"

[dependencies.walkdir]
version = "2.5.0"

[dev-dependencies.criterion]
version = "0.8.1"
features = [
    "cargo_bench_support",
    "plotters",
]
default-features = false

[dev-dependencies.maplit]
version = "1.0.2"

[dev-dependencies.path-slash]
version = "0.2.1"

[dev-dependencies.rust-embed]
version = "8.11.0"
features = ["debug-embed"]

[dev-dependencies.same-file]
version = "1.0.6"

[dev-dependencies.scopeguard]
version = "1.2.0"

[dev-dependencies.walkdir]
version = "2.5.0"

[target.'cfg(any(target_os = "linux", target_os = "freebsd", target_os = "macos"))'.dependencies.exacl]
version = "0.12.0"
optional = true

[target.'cfg(any(target_os = "linux", target_os = "freebsd", target_os = "macos"))'.dependencies.nix]
version = "0.30.1"
features = [
    "user",
    "fs",
    "ioctl",
]

[target.'cfg(not(target_family = "wasm"))'.dev-dependencies.assert_cmd]
version = "2.1.2"

[target.'cfg(not(target_family = "wasm"))'.dev-dependencies.predicates]
version = "3.1.3"

[target."cfg(unix)".dependencies.nix]
version = "0.30.1"
features = ["user"]

[target."cfg(unix)".dependencies.xattr]
version = "1.6.1"

[target."cfg(windows)".dependencies.field-offset]
version = "0.3.6"
optional = true

[target."cfg(windows)".dependencies.windows]
version = "0.62.2"
features = [
    "Win32_Storage_FileSystem",
    "Win32_Security_Authorization",
    "Win32_System_WindowsProgramming",
    "Win32_System_Threading",
]
