Skip to content

betterwrite/epub-gen-rs

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

EPUB Implementation in Rust (WIP)

https://www.w3.org/TR/epub-33/

  • Stable
  • Base Header and Text Flow
  • ToC
  • Deflated Zip
  • Stored for valid decrypted files
  • UUID for XHTML's items
  • UUID for resources
  • UUID for paths
  • Validade data entries
  • Optional META_INF (encryption.xml, metadata.xml, manifest.xml, ...)
  • container.xml access
  • Images, Checkbox and List's
  • Custom Fonts

Example

let mut epub = EPUB::new(Info {
  title: String::from("A Nice Title"),
  description: String::from("A some description..."),
  publisher: String::from("..."),
  author: String::from("..."),
  toc_title: String::from("Table of Contents"),
  lang: String::from("en"),
  fonts: vec![String::from("Roboto")],
  css: None,
  version: 3
}, vec![macro_for_this_please![
  "Title",
  "A some content...",
]]);

epub.run();

About

EPUB 3.x Implementation in Rust (WIP)

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages