diff --git a/Cargo.toml b/Cargo.toml index 87a5c8bc2..57f128fdd 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -23,7 +23,8 @@ name = "mdbook-epub" doc = false [dependencies] -epub-builder = "0.5" +eyre = "0.6" +epub-builder = "0.7" thiserror = "1.0.43" pulldown-cmark = "0.9.3" semver = "1.0.17" diff --git a/src/lib.rs b/src/lib.rs index 35e9be626..73c34527d 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -1,6 +1,5 @@ //! A `mdbook` backend for generating a book in the `EPUB` format. -use ::epub_builder; use ::handlebars; use ::thiserror::Error; #[macro_use] @@ -75,7 +74,7 @@ pub enum Error { #[error(transparent)] Semver(#[from] semver::Error), #[error(transparent)] - EpubBuilder(#[from] epub_builder::Error), + EpubBuilder(#[from] eyre::Report), #[error(transparent)] Render(#[from] handlebars::RenderError), #[error(transparent)]