From 7e0c6af0088404b5b5dd738b3400e5ee4ba7b8ea Mon Sep 17 00:00:00 2001 From: Predrag Gruevski <2348618+obi1kenobi@users.noreply.github.com> Date: Thu, 7 Sep 2023 16:09:02 -0400 Subject: [PATCH] Support rustdoc v27 for latest nightly. (#529) --- Cargo.lock | 24 ++++++++++++++++++++++-- Cargo.toml | 2 +- 2 files changed, 23 insertions(+), 3 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index 961ff5db..255d0f15 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -2561,6 +2561,15 @@ dependencies = [ "serde", ] +[[package]] +name = "rustdoc-types" +version = "0.23.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "cc646f09069d689083b975698bdac4edb96c2f0e7d270b701760814b886bb224" +dependencies = [ + "serde", +] + [[package]] name = "rustix" version = "0.38.11" @@ -3195,6 +3204,16 @@ dependencies = [ "trustfall", ] +[[package]] +name = "trustfall-rustdoc-adapter" +version = "27.0.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "9dd0afa66d619e0b540eac19b6cc6892fb4f5dd6a02e9c5171d3433e6f29cbb3" +dependencies = [ + "rustdoc-types 0.23.0", + "trustfall", +] + [[package]] name = "trustfall_core" version = "0.6.0" @@ -3226,9 +3245,9 @@ dependencies = [ [[package]] name = "trustfall_rustdoc" -version = "0.13.0" +version = "0.13.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "90cfc126209a506fa3f8b6f838d1111e460414160179ad1ac57cbe23547630fc" +checksum = "f2f9ce06b5285a0f64dd90bbf1be4b408422535fe2d06a36e4ec9f0b5d80a123" dependencies = [ "anyhow", "serde", @@ -3237,6 +3256,7 @@ dependencies = [ "trustfall-rustdoc-adapter 23.6.0", "trustfall-rustdoc-adapter 24.5.0", "trustfall-rustdoc-adapter 26.2.0", + "trustfall-rustdoc-adapter 27.0.0", ] [[package]] diff --git a/Cargo.toml b/Cargo.toml index 8d11baed..7fa9769f 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -14,7 +14,7 @@ categories = ["command-line-utilities", "development-tools::cargo-plugins"] [dependencies] trustfall = "0.6.0" -trustfall_rustdoc = { version = "0.13.0", features = ["v23", "v24", "v26"] } +trustfall_rustdoc = { version = "0.13.1", features = ["v23", "v24", "v26", "v27"] } clap = { version = "4.0.0", features = ["derive", "cargo"] } serde_json = "1.0.82" anyhow = "1.0.58"