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) => {
    |               ~~~~~~~~~~
This commit is contained in:
moxian 2025-03-30 14:40:25 -07:00 committed by nora
parent fc25fcbfb5
commit 92aec21748
2 changed files with 2 additions and 0 deletions

1
Cargo.lock generated
View file

@ -102,6 +102,7 @@ dependencies = [
"ctrlc",
"genemichaels",
"libloading",
"markdown",
"owo-colors",
"proc-macro2",
"quote",

View file

@ -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"] }