4 releases
0.2.2 | May 16, 2024 |
---|---|
0.2.1 | May 14, 2024 |
0.2.0 | May 14, 2024 |
0.1.0 | May 13, 2024 |
#4 in #cover
133 downloads per month
20KB
540 lines
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);
Dependencies
~6–12MB
~140K SLoC