epubparse

Crates.ioepubparse
lib.rsepubparse
version0.2.2
sourcesrc
created_at2021-03-29 13:11:51.013054
updated_at2022-01-16 13:08:07.040033
descriptionParse epub and convert to text-only Book structure
homepage
repositoryhttps://github.com/jannes/epubparse/
max_upload_size
id375131
size185,544
Jannes (思明) (jannes)

documentation

README

Epubparse-rs

⚠️ Work in progress

Requires Rust 1.56 to compile

This library aims to convert Epub files into text-only Book structures that can be used to do analysis of the contained text. It is published both as a Rust crate to crates.io and as a NPM package (ESM module) to npm. See the project repo for all components.

Design goals

  • ✅ serve as core to the epubparse-wasm library (must compile to WASM)
  • ✅ perform a reasonable conversion into a book with chapters
  • ✅ support Epub version 2 table of contents (.ncx)
  • ❌ support Epub version 3 table of contents (.xhtml) (not yet implemented, but
    many version 3 epubs also include version 2 table of contents, these should also work)
Commit count: 26

cargo fmt