From 98952082ae3161a5bb271c529a32ff5e3eced44b Mon Sep 17 00:00:00 2001 From: Ian Manske Date: Wed, 29 Nov 2023 15:17:22 +0000 Subject: [PATCH] Build `nu-protocol` docs with all features enabled (#11180) # Description Currently, `PluginSignature` does not appear on [`docs.rs`](https://docs.rs/nu-protocol/latest/nu_protocol/index.html), since it is behind the `plugin` feature which is not enabled by default. This PR adds [metadata](https://docs.rs/about/metadata) to the Cargo.toml to get `docs.rs` to build docs with all features enabled. --- crates/nu-protocol/Cargo.toml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/crates/nu-protocol/Cargo.toml b/crates/nu-protocol/Cargo.toml index f991fa62f..d8fd4e47e 100644 --- a/crates/nu-protocol/Cargo.toml +++ b/crates/nu-protocol/Cargo.toml @@ -39,3 +39,6 @@ strum = "0.25" strum_macros = "0.25" nu-test-support = { path = "../nu-test-support", version = "0.87.2" } rstest = "0.18" + +[package.metadata.docs.rs] +all-features = true