diff options
author | James Campos <james.r.campos@gmail.com> | 2020-07-05 16:48:22 -0700 |
---|---|---|
committer | James Campos <james.r.campos@gmail.com> | 2020-07-05 16:48:22 -0700 |
commit | e580dab8a303b08cab5e4a1780fc4448d1234b74 (patch) | |
tree | 48891ffbf7415bb2cf18fb178877cdc69a9ff88a /src/epub.rs | |
parent | f54dfbd9ffdf1367bf027dc062bab82483def2ab (diff) | |
download | bk-e580dab8a303b08cab5e4a1780fc4448d1234b74.tar.gz |
lines as byte indexes
Diffstat (limited to 'src/epub.rs')
-rw-r--r-- | src/epub.rs | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/src/epub.rs b/src/epub.rs index 0945ad6..c4f79e3 100644 --- a/src/epub.rs +++ b/src/epub.rs @@ -1,8 +1,5 @@ -use std::collections::HashMap; -use std::fs::File; -use std::io::Read; - use roxmltree::{Document, Node}; +use std::{collections::HashMap, fs::File, io::Read}; pub struct Epub { container: zip::ZipArchive<File>, |