# 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"
name = "nzb-postproc"
version = "0.2.6"
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Post-processing pipeline: PAR2 verify/repair, archive extraction"
readme = "README.md"
license = "MIT"
repository = "https://github.com/AusAgentSmith-org/nzb-postproc"

[features]
default = []
groups-db = ["nzb-core/groups-db"]

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

[dependencies.anyhow]
version = "1"

[dependencies.nzb-core]
version = "0.2.14"

[dependencies.rust-par2]
version = "0.1.3"

[dependencies.thiserror]
version = "2"

[dependencies.tokio]
version = "1"
features = [
    "rt",
    "sync",
    "process",
]

[dependencies.tracing]
version = "0.1"

[dependencies.walkdir]
version = "2"

[dependencies.zip]
version = "8"

[dev-dependencies.tempfile]
version = "3"

[lints.clippy.all]
level = "warn"
priority = -1

[lints.rust]
unused = "warn"
