From 92aec2174874d113ef19ab926325b3f67a7fbae1 Mon Sep 17 00:00:00 2001 From: moxian Date: Sun, 30 Mar 2025 14:40:25 -0700 Subject: [PATCH] Pin markdown version to fix build error markdown made a breaking change between 1.0.0-alpha.20 and 1.0.0-alpha.21 which made genemichaels stop building. genemichaels never updated (as a library) to fix that, so if we want to continue using it we have to ping markdown. The error: error[E0599]: no variant or associated item named `BlockQuote` found for enum `Node` in the current scope --> [path-to]\genemichaels-0.1.21\src\comments.rs:633:15 | 633 | Node::BlockQuote(x) => { | ^^^^^^^^^^ variant or associated item not found in `Node` | help: there is a variant with a similar name | 633 | Node::Blockquote(x) => { | ~~~~~~~~~~ --- Cargo.lock | 1 + Cargo.toml | 1 + 2 files changed, 2 insertions(+) diff --git a/Cargo.lock b/Cargo.lock index ba05446..c164970 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -102,6 +102,7 @@ dependencies = [ "ctrlc", "genemichaels", "libloading", + "markdown", "owo-colors", "proc-macro2", "quote", diff --git a/Cargo.toml b/Cargo.toml index 5aead06..6dcdd56 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -24,6 +24,7 @@ anyhow = "1.0.65" clap = { version = "4.0.29", features = ["derive"] } ctrlc = "3.2.5" genemichaels = "0.1.21" +markdown = { version = "=1.0.0-alpha.14" } # pinning the version to ensure genemichaels builds. libloading = "0.8.0" owo-colors = "3.5.0" proc-macro2 = { version = "1.0.48", features = ["span-locations"] }