From 591625966765787b7adb66db7c5e121aa8c7b9ee Mon Sep 17 00:00:00 2001 From: Predrag Gruevski <2348618+obi1kenobi@users.noreply.github.com> Date: Sun, 8 Sep 2024 20:07:19 -0400 Subject: [PATCH] Enable the `rayon` and `rustc-hash` optimization features. (#924) --- Cargo.lock | 10 ++++++++++ Cargo.toml | 2 +- 2 files changed, 11 insertions(+), 1 deletion(-) diff --git a/Cargo.lock b/Cargo.lock index aa543f08..86652587 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -3288,6 +3288,8 @@ version = "28.1.6" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "3c75c87b6555d5d888e2d7047d820cd4586302e42e9dd881ee28800f225b82a7" dependencies = [ + "rayon", + "rustc-hash", "rustdoc-types 0.24.0", "trustfall", ] @@ -3298,6 +3300,8 @@ version = "29.1.6" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "0f2c2b64014ee66c61be248d12ee8db2d6973db90b6f68046e89f13588ca3475" dependencies = [ + "rayon", + "rustc-hash", "rustdoc-types 0.25.0", "trustfall", ] @@ -3308,6 +3312,8 @@ version = "30.1.6" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "0b6a00f2f51bc5f88028ad5ef064e40a9e8af5b313d7e37834c315b681cae2f4" dependencies = [ + "rayon", + "rustc-hash", "rustdoc-types 0.26.0", "trustfall", ] @@ -3318,6 +3324,8 @@ version = "32.1.6" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "f826c74e11761b4ef919396c16b3472ed767c81ce40ea6f234d9ba2ac79b65bd" dependencies = [ + "rayon", + "rustc-hash", "rustdoc-types 0.28.1", "trustfall", ] @@ -3328,6 +3336,8 @@ version = "33.1.6" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "970e7763e31dffc6ee25699cde56c11a45e33c505ab4b08da5e1f4c0861e44f4" dependencies = [ + "rayon", + "rustc-hash", "rustdoc-types 0.29.1", "trustfall", ] diff --git a/Cargo.toml b/Cargo.toml index 4841450b..46e043c1 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -15,7 +15,7 @@ rust-version = "1.77" [dependencies] trustfall = "0.7.1" -trustfall_rustdoc = { version = "0.16.0", default-features = false, features = ["v28", "v29", "v30", "v32", "v33"] } +trustfall_rustdoc = { version = "0.16.0", default-features = false, features = ["v28", "v29", "v30", "v32", "v33", "rayon", "rustc-hash"] } clap = { version = "4.0.0", features = ["derive", "cargo"] } serde_json = "1.0.82" anyhow = "1.0.58"