# 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 = "cli-epub-to-text"
version = "0.1.21"
authors = ["kruseio"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "A CLI epub to plain text converter"
readme = "README.md"
keywords = [
    "pdf",
    "cli",
    "parser",
    "terminal",
    "utility",
]
categories = [
    "command-line-utilities",
    "parser-implementations",
    "text-processing",
]
license = "AGPL-3.0"
repository = "https://github.com/kruseio/hygg"
resolver = "2"

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

[[bin]]
name = "cli-epub-to-text"
path = "src/main.rs"

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

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

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

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

[dependencies.epub]
version = "2.1.5"

[dependencies.html2text]
version = "0.17"

[dependencies.hygg-shared]
version = "0.1"

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

[dev-dependencies.zip]
version = "8"

[lints.clippy]
implicit_saturating_sub = "allow"
needless_return = "allow"
single_component_path_imports = "allow"

[lints.rust]
unused_imports = "allow"
unused_parens = "allow"
