From 71e62f2e9da0b4661f5576178bf97d6245e142e0 Mon Sep 17 00:00:00 2001 From: sholderbach Date: Wed, 29 Nov 2023 16:21:12 +0100 Subject: [PATCH] Build docs.rs docs with all features Inspired by https://github.com/nushell/nushell/pull/11180 Make sure you can see all available types/symbols on docs.rs (e.g. `SqliteBackedHistory`) In a second step we should take care of annotating feature gated stuff correctly --- Cargo.toml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/Cargo.toml b/Cargo.toml index 29334548..07a9dfb5 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -50,3 +50,7 @@ required-features = ["sqlite"] [[example]] name = "external_printer" required-features = ["external_printer"] + +[package.metadata.docs.rs] +# Whether to pass `--all-features` to Cargo (default: false) +all-features = true