Skip to main content

Crate kindling

Crate kindling 

Source
Expand description

kindling: Kindle MOBI/AZW3 builder library.

This crate provides EPUB-to-MOBI/AZW3 conversion, a comic pipeline, KDP pre-flight validation, and post-build MOBI readback checks. The same functionality is exposed through the kindling-cli binary, which is a thin wrapper around these modules.

Modules§

comic
epub
extracted
kdp_rules
mobi
mobi_check
mobi_dump
mobi_rewrite
In-place metadata rewrite for existing MOBI/AZW3 files.
opf
profile
repair
EPUB repair pass for common Kindle ingest issues.
validate

Constants§

DEFAULT_AUTHOR
Fallback author written to EXTH 100 when the input OPF or ComicInfo.xml does not supply a creator. Used anywhere kindling needs a non-empty author string: dictionary EXTH, book EXTH, and the comic pipeline. Kept as a single crate-wide constant so the displayed author on a Kindle home screen is consistent regardless of which entry point produced the file.

Functions§

run_preflight_validation
Pre-flight KDP validation used by do_build. Returns Err(error_count).
run_preflight_validation_on_extracted
Pre-flight KDP validation against an already-parsed ExtractedEpub.