There is no argument named `suffix` or `prefix`
A build error occurs when compiling extract-frontmatter
:
error: there is no argument named `suffix`
--> extract-frontmatter-4.1.0/src/extraction.rs:77:33
|
77 | meta.strip_suffix(&format!("{suffix}\r\n")).unwrap_or_else(|| {
| ^^^^^^^^
error: there is no argument named `suffix`
--> extract-frontmatter-4.1.0/src/extraction.rs:78:37
|
78 | meta.strip_suffix(&format!("{suffix}\n")).unwrap_or_else(|| meta.strip_suffix(suffix).unwrap_or(meta))
| ^^^^^^^^
error: there is no argument named `prefix`
--> extract-frontmatter-4.1.0/src/extraction.rs:83:33
|
83 | meta.strip_prefix(&format!("{prefix}\r\n")).unwrap_or_else(|| {
| ^^^^^^^^
error: there is no argument named `prefix`
--> extract-frontmatter-4.1.0/src/extraction.rs:84:37
|
84 | meta.strip_prefix(&format!("{prefix}\n")).unwrap_or_else(|| meta.strip_prefix(prefix).unwrap_or(meta))
| ^^^^^^^^
error: could not compile `extract-frontmatter` due to 4 previous errors
From what I can tell this issue originates in version 4.1.0 though I may be mistaken.