r-epub

Crates.ior-epub
lib.rsr-epub
version0.2.2
sourcesrc
created_at2024-05-13 12:21:19.714381
updated_at2024-05-16 11:40:40.345356
descriptionLibrary to support parse .epub file
homepage
repositoryhttps://github.com/Tallone/r-epub
max_upload_size
id1238353
size22,464
Tallone (Tallone)

documentation

README

How to use


let path = "demo.epub";
let extract_path = Some("demo");
let epub = EpubContainer::parse(path, extract_path).unwrap();

// Get cover
let cover = epub.cover();

// Get title
let title = epub.title();

// Get toc
let toc = epub.toc();

// Get chapter
let ch = epub.get_chapter(2).unwrap();
println!("ch: {:?}", ch);
Commit count: 25

cargo fmt