epub-parser 0.1.0

A Rust library for extracting metadata, table of contents, text, cover, and images from EPUB files.
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
#[derive(Debug, Clone, Default)]
pub struct Metadata {
    pub title: Option<String>,
    pub author: Option<String>,
    pub publisher: Option<String>,
    pub language: Option<String>,
    pub identifier: Option<String>,
    pub date: Option<String>,
    pub rights: Option<String>,
}

impl Metadata {
    pub fn new() -> Self {
        Self::default()
    }
}