mirror of
https://github.com/Noratrieb/cargo-minimize.git
synced 2026-01-14 08:25:01 +01:00
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:
parent
fc25fcbfb5
commit
92aec21748
2 changed files with 2 additions and 0 deletions
1
Cargo.lock
generated
1
Cargo.lock
generated
|
|
@ -102,6 +102,7 @@ dependencies = [
|
|||
"ctrlc",
|
||||
"genemichaels",
|
||||
"libloading",
|
||||
"markdown",
|
||||
"owo-colors",
|
||||
"proc-macro2",
|
||||
"quote",
|
||||
|
|
|
|||
|
|
@ -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"] }
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue