We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 8ffbbf1 + b80cfe4 commit 9a6745fCopy full SHA for 9a6745f
1 file changed
src/doc.rs
@@ -185,16 +185,17 @@ impl EpubDoc<std::io::Cursor<Vec<u8>>> {
185
let archive = EpubArchive::from_reader(std::io::Cursor::new(data))?;
186
Ok(Self {
187
archive,
188
+ version: EpubVersion::Version2_0,
189
spine: vec![],
190
toc: vec![],
191
+ toc_title: String::new(),
192
resources: HashMap::new(),
- metadata: HashMap::new(),
193
+ metadata: Vec::new(),
194
root_file: PathBuf::new(),
195
root_base: PathBuf::new(),
196
current: 0,
197
extra_css: vec![],
198
unique_identifier: None,
- cover_id: None,
199
})
200
}
201
0 commit comments