Upgrade dependencies, including mdbook itself
This commit is contained in:
parent
531073fe2b
commit
8dceed5003
1522
Cargo.lock
generated
1522
Cargo.lock
generated
File diff suppressed because it is too large
Load diff
|
@ -9,13 +9,13 @@ repository = "https://github.com/badboy/mdbook-toc"
|
|||
edition = "2018"
|
||||
|
||||
[dependencies]
|
||||
mdbook = "0.3"
|
||||
mdbook = "0.4.3"
|
||||
pulldown-cmark = "0.7.0"
|
||||
pulldown-cmark-to-cmark = "4.0.2"
|
||||
env_logger = "0.7.1"
|
||||
log = "0.4"
|
||||
clap = "2.33"
|
||||
serde_json = "1.0"
|
||||
log = "0.4.11"
|
||||
clap = "2.33.3"
|
||||
serde_json = "1.0.57"
|
||||
|
||||
[dev-dependencies]
|
||||
pretty_assertions = "0.6.1"
|
||||
|
|
|
@ -145,7 +145,7 @@ fn add_toc(content: &str) -> Result<String> {
|
|||
opts.newlines_after_codeblock = 1;
|
||||
cmark_with_options(events, &mut buf, None, opts)
|
||||
.map(|_| buf)
|
||||
.map_err(|err| Error::from(format!("Markdown serialization failed: {}", err)))
|
||||
.map_err(|err| Error::msg(format!("Markdown serialization failed: {}", err)))
|
||||
}
|
||||
|
||||
impl Toc {
|
||||
|
|
Loading…
Reference in a new issue