removed regex library, as I thought I would need it but did not

This commit is contained in:
Daniel Redd Jones 2023-05-19 18:47:21 -05:00
parent 5418a2b7c6
commit 31fcab91e5
2 changed files with 2 additions and 4 deletions

View File

@ -7,5 +7,4 @@ edition = "2021"
[dependencies]
epub = "1.2.2"
regex = "1.8.1"
soup = "0.5.1"

View File

@ -4,7 +4,7 @@ Language: Rustc 1.69.0
ide: CLion
Operating system: Fedora 38/WSL
Purpose: ncurses based ereader and library manager for Linux terminal environments.
Last edited: 5/18/23
Last edited: 5/19/23
*/
@ -31,10 +31,9 @@ fn epub_func(epub_file: &str){
let doc = EpubDoc::new(&epub_file);
assert!(doc.is_ok());
let mut doc = doc.unwrap();
doc.set_current_page(50);
doc.set_current_page(1).expect("end of book");
let mut content = doc.get_current_str();
let mut str_content = content.unwrap();
let mut next = String::new();