# 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 = "2021"
rust-version = "1.75"
name = "pesto-poster"
version = "0.2.4"
build = false
exclude = [
    "test_results/",
    "screenshot-*.png",
    "Terapia atraves da Escrita*/",
]
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Fast, lean Usenet poster: yEnc, NNTP and .nzb generation"
homepage = "https://github.com/franzopl/pesto"
documentation = "https://github.com/franzopl/pesto#readme"
readme = "README.md"
keywords = [
    "usenet",
    "nntp",
    "yenc",
    "nzb",
    "par2",
]
categories = [
    "command-line-utilities",
    "network-programming",
]
license = "MIT"
repository = "https://github.com/franzopl/pesto"

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

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

[[test]]
name = "integration"
path = "tests/integration.rs"

[[test]]
name = "obfuscated_directory"
path = "tests/obfuscated_directory.rs"

[[test]]
name = "par2_cmdline"
path = "tests/par2_cmdline.rs"

[[test]]
name = "par2_directory"
path = "tests/par2_directory.rs"

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

[dependencies.anyhow]
version = "1"

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

[dependencies.md-5]
version = "0.10"

[dependencies.rayon]
version = "1.12.0"

[dependencies.reqwest]
version = "0.12"
features = [
    "rustls-tls-webpki-roots",
    "multipart",
]
default-features = false

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

[dependencies.serde_json]
version = "1"

[dependencies.sha2]
version = "0.10"

[dependencies.tokio]
version = "1"
features = [
    "rt-multi-thread",
    "net",
    "io-util",
    "macros",
    "time",
    "fs",
    "signal",
    "sync",
]

[dependencies.tokio-rustls]
version = "0.26"
features = [
    "ring",
    "tls12",
    "logging",
]
default-features = false

[dependencies.toml]
version = "0.8"

[dependencies.webpki-roots]
version = "0.26"

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

[dev-dependencies.tokio]
version = "1"
features = [
    "rt-multi-thread",
    "net",
    "io-util",
    "macros",
    "time",
]

[profile.release]
lto = true
codegen-units = 1
panic = "abort"
strip = true
