Skip to content

Commit 45af788

Browse files
authored
Rollup merge of rust-lang#96088 - ehuss:update-mdbook, r=Mark-Simulacrum
Update mdbook This just brings in a few small fixes, particularly a rendering fix for chapter names with markdown in them (like the https://doc.rust-lang.org/nightly/rustc/platform-support/kmc-solid.html page). There's also a minor fix for the search index for duplicate headings. Changelog: https://github.com/rust-lang/mdBook/blob/master/CHANGELOG.md#mdbook-0418
2 parents be42af6 + 5181422 commit 45af788

File tree

2 files changed

+17
-7
lines changed

2 files changed

+17
-7
lines changed

Cargo.lock

+16-6
Original file line numberDiff line numberDiff line change
@@ -606,12 +606,22 @@ dependencies = [
606606
"atty",
607607
"bitflags",
608608
"indexmap",
609+
"lazy_static",
609610
"os_str_bytes",
610611
"strsim 0.10.0",
611612
"termcolor",
612613
"textwrap 0.14.2",
613614
]
614615

616+
[[package]]
617+
name = "clap_complete"
618+
version = "3.1.1"
619+
source = "registry+https://github.com/rust-lang/crates.io-index"
620+
checksum = "df6f3613c0a3cddfd78b41b10203eb322cb29b600cbdf808a7d3db95691b8e25"
621+
dependencies = [
622+
"clap 3.1.1",
623+
]
624+
615625
[[package]]
616626
name = "clippy"
617627
version = "0.1.62"
@@ -2240,14 +2250,15 @@ dependencies = [
22402250

22412251
[[package]]
22422252
name = "mdbook"
2243-
version = "0.4.15"
2253+
version = "0.4.18"
22442254
source = "registry+https://github.com/rust-lang/crates.io-index"
2245-
checksum = "241f10687eb3b4e0634b3b4e423f97c5f1efbd69dc9522e24a8b94583eeec3c6"
2255+
checksum = "74612ae81a3e5ee509854049dfa4c7975ae033c06f5fc4735c7dfbe60ee2a39d"
22462256
dependencies = [
22472257
"ammonia",
22482258
"anyhow",
22492259
"chrono",
2250-
"clap 2.34.0",
2260+
"clap 3.1.1",
2261+
"clap_complete",
22512262
"elasticlunr-rs",
22522263
"env_logger 0.7.1",
22532264
"handlebars",
@@ -2911,7 +2922,6 @@ source = "registry+https://github.com/rust-lang/crates.io-index"
29112922
checksum = "34f197a544b0c9ab3ae46c359a7ec9cbbb5c7bf97054266fecb7ead794a181d6"
29122923
dependencies = [
29132924
"bitflags",
2914-
"getopts",
29152925
"memchr",
29162926
"unicase",
29172927
]
@@ -3129,9 +3139,9 @@ dependencies = [
31293139

31303140
[[package]]
31313141
name = "regex"
3132-
version = "1.5.4"
3142+
version = "1.5.5"
31333143
source = "registry+https://github.com/rust-lang/crates.io-index"
3134-
checksum = "d07a8629359eb56f1e2fb1652bb04212c072a87ba68546a04065d525673ac461"
3144+
checksum = "1a11647b6b25ff05a515cb92c365cec08801e83423a235b51e231e1808747286"
31353145
dependencies = [
31363146
"aho-corasick",
31373147
"memchr",

src/tools/rustbook/Cargo.toml

+1-1
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,6 @@ clap = "2.25.0"
99
env_logger = "0.7.1"
1010

1111
[dependencies.mdbook]
12-
version = "0.4.14"
12+
version = "0.4.18"
1313
default-features = false
1414
features = ["search"]

0 commit comments

Comments
 (0)