ebook 0.1.2

A CLI tool for reading, writing, and operating on various ebook formats
Documentation
# 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 = "ebook"
version = "0.1.2"
authors = ["Ying Kit WONG"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "A CLI tool for reading, writing, and operating on various ebook formats"
homepage = "https://github.com/yingkitw/ebook"
documentation = "https://docs.rs/ebook"
readme = "README.md"
license = "Apache-2.0"
repository = "https://github.com/yingkitw/ebook"

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

[dependencies.base64]
version = "0.22"

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

[dependencies.encoding_rs]
version = "0.8"

[dependencies.env_logger]
version = "0.11"

[dependencies.image]
version = "0.25"
features = [
    "jpeg",
    "png",
    "webp",
]

[dependencies.log]
version = "0.4"

[dependencies.lopdf]
version = "0.34"

[dependencies.quick-xml]
version = "0.36"
features = ["serialize"]

[dependencies.rmcp]
version = "0.14"
features = ["transport-io"]

[dependencies.schemars]
version = "1.0"

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

[dependencies.serde_json]
version = "1.0"

[dependencies.thiserror]
version = "1.0"

[dependencies.tokio]
version = "1.43"
features = [
    "io-std",
    "io-util",
    "macros",
    "rt-multi-thread",
    "sync",
]

[dependencies.uuid]
version = "1.11"
features = ["v4"]

[dependencies.xml-rs]
version = "0.8"

[dependencies.zip]
version = "2.2"

[dev-dependencies.assert_cmd]
version = "2.0"

[dev-dependencies.criterion]
version = "0.5"

[dev-dependencies.predicates]
version = "3.1"

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