[[bench]]
harness = false
name = "conversion"
path = "benches/conversion.rs"
[[bin]]
name = "boko"
path = "src/main.rs"
required-features = ["cli"]
[dependencies.bstr]
default-features = false
features = ["alloc"]
version = "1.11"
[dependencies.clap]
features = ["derive"]
optional = true
version = "4"
[dependencies.console_error_panic_hook]
optional = true
version = "0.1"
[dependencies.memchr]
version = "2.7"
[dependencies.percent-encoding]
version = "2.3"
[dependencies.quick-xml]
version = "0.39"
[dependencies.wasm-bindgen]
optional = true
version = "0.2"
[dependencies.zip]
default-features = false
features = ["deflate-flate2"]
version = "7.1"
[dev-dependencies.criterion]
version = "0.8"
[dev-dependencies.proptest]
version = "1.6"
[dev-dependencies.tempfile]
version = "3.14"
[features]
cli = ["dep:clap"]
default = ["cli"]
wasm = ["wasm-bindgen", "console_error_panic_hook"]
[lib]
crate-type = ["cdylib", "rlib"]
name = "boko"
path = "src/lib.rs"
[package]
autobenches = false
autobins = false
autoexamples = false
autolib = false
autotests = false
build = false
categories = ["parsing", "encoding"]
description = "Fast ebook conversion library for EPUB and Kindle formats"
documentation = "https://docs.rs/boko"
edition = "2024"
homepage = "https://github.com/zacharydenton/boko"
keywords = ["ebook", "epub", "mobi", "azw3", "kindle"]
license = "MIT"
name = "boko"
readme = "README.md"
repository = "https://github.com/zacharydenton/boko"
version = "0.1.0"
[target.'cfg(not(target_arch = "wasm32"))'.dependencies.flate2]
default-features = false
features = ["zlib-rs"]
version = "1.1"
[target.'cfg(target_arch = "wasm32")'.dependencies.flate2]
default-features = false
features = ["rust_backend"]
version = "1.1"
[target.'cfg(target_arch = "wasm32")'.dependencies.js-sys]
version = "0.3"
[[test]]
name = "book_api_test"
path = "tests/book_api_test.rs"
[[test]]
name = "container_test"
path = "tests/container_test.rs"
[[test]]
name = "media_test"
path = "tests/media_test.rs"
[[test]]
name = "parsing_test"
path = "tests/parsing_test.rs"
[[test]]
name = "structure_test"
path = "tests/structure_test.rs"