Add export to csv for books
This commit is contained in:
parent
a4c5e8185b
commit
60a5bf5583
10 changed files with 166 additions and 27 deletions
|
|
@ -33,6 +33,14 @@ pub enum AppStateError {
|
|||
Book {
|
||||
source: BookError,
|
||||
},
|
||||
#[snafu(display("CSV Error"))]
|
||||
CSV {
|
||||
source: csv::Error,
|
||||
},
|
||||
#[snafu(display("IO Error"))]
|
||||
IO {
|
||||
source: std::io::Error,
|
||||
},
|
||||
}
|
||||
|
||||
#[derive(Template, WebTemplate)]
|
||||
|
|
|
|||
Loading…
Reference in a new issue