diff --git a/Cargo.lock b/Cargo.lock index 16b0b64..b16749d 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -392,9 +392,9 @@ checksum = "90ed8c1e510134f979dbc4f070f87d4313098b704861a105fe34231c70a3901c" [[package]] name = "markdown" -version = "1.0.0-alpha.16" +version = "1.0.0-alpha.17" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "5b0f0025e8c0d89b84d6dc63e859475e40e8e82ab1a08be0a93ad5731513a508" +checksum = "21e27d6220ce21f80ce5c4201f23a37c6f1ad037c72c9d1ff215c2919605a5d6" dependencies = [ "unicode-id", ] diff --git a/Cargo.toml b/Cargo.toml index a171c52..10543b1 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -39,7 +39,7 @@ lazy_static = "1" libcnb-common = "=0.21.0" libcnb-data = "=0.21.0" libcnb-package = "=0.21.0" -markdown = "1.0.0-alpha.16" +markdown = "1.0.0-alpha.17" fastrand = "2" regex = "1" semver = "1" diff --git a/src/changelog.rs b/src/changelog.rs index 22995d1..bb66704 100644 --- a/src/changelog.rs +++ b/src/changelog.rs @@ -179,7 +179,7 @@ pub(crate) enum ChangelogError { #[error("No root node in changelog markdown")] NoRootNode, #[error("Could not parse changelog - {0}")] - Parse(String), + Parse(markdown::message::Message), #[error("Invalid semver version in release entry - {0}")] ParseVersion(#[source] semver::Error), #[error("Invalid year in release entry - {0}")]