From a4a5bfd7b9f00ceb00f4fcd00719a2bfda7456ce Mon Sep 17 00:00:00 2001 From: Dmitry Luschan Date: Sun, 17 Sep 2023 16:06:42 +0600 Subject: [PATCH] update version epub_builder from 0.5 to 0.7 --- Cargo.toml | 3 ++- src/lib.rs | 3 +-- 2 files changed, 3 insertions(+), 3 deletions(-) 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)]