about summary refs log tree commit diff
path: root/src/tools/rustbook/Cargo.lock
diff options
context:
space:
mode:
authorEric Huss <eric@huss.org>2024-07-25 17:38:22 -0700
committerEric Huss <eric@huss.org>2024-07-25 17:38:22 -0700
commit53ef052d455ba8bd9a4823c59696efb257aef2fa (patch)
tree343d159393ab4ec0fd9ab4799682349777c79bf1 /src/tools/rustbook/Cargo.lock
parenta20db06d5be876fbdaf1d4542d2974f2f76abba0 (diff)
downloadrust-53ef052d455ba8bd9a4823c59696efb257aef2fa.tar.gz
rust-53ef052d455ba8bd9a4823c59696efb257aef2fa.zip
Integrate mdbook-spec for the reference.
This updates the reference which is now using a new mdbook plugin. This
requires a little extra work than a normal book because the plugin uses
`rustdoc` to generate links to the standard library. It also ensures
that the submodule is available for *any* command that uses rustbook,
since it is now part of the rustbook workspace.
Diffstat (limited to 'src/tools/rustbook/Cargo.lock')
-rw-r--r--src/tools/rustbook/Cargo.lock21
1 files changed, 21 insertions, 0 deletions
diff --git a/src/tools/rustbook/Cargo.lock b/src/tools/rustbook/Cargo.lock
index 75b89a162e9..df051ed447e 100644
--- a/src/tools/rustbook/Cargo.lock
+++ b/src/tools/rustbook/Cargo.lock
@@ -662,6 +662,20 @@ dependencies = [
 ]
 
 [[package]]
+name = "mdbook-spec"
+version = "0.1.2"
+dependencies = [
+ "anyhow",
+ "mdbook",
+ "once_cell",
+ "pathdiff",
+ "regex",
+ "semver",
+ "serde_json",
+ "tempfile",
+]
+
+[[package]]
 name = "mdbook-trpl-listing"
 version = "0.1.0"
 dependencies = [
@@ -795,6 +809,12 @@ dependencies = [
 ]
 
 [[package]]
+name = "pathdiff"
+version = "0.2.1"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "8835116a5c179084a830efb3adc117ab007512b535bc1a21c991d3b32a6b44dd"
+
+[[package]]
 name = "percent-encoding"
 version = "2.3.1"
 source = "registry+https://github.com/rust-lang/crates.io-index"
@@ -1079,6 +1099,7 @@ dependencies = [
  "env_logger",
  "mdbook",
  "mdbook-i18n-helpers",
+ "mdbook-spec",
  "mdbook-trpl-listing",
  "mdbook-trpl-note",
 ]