From f798c2b5bc715452d8bb3df657acd16cbba98c4f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jonas=20Sch=C3=A4fer?= Date: Fri, 26 Jul 2024 17:07:05 +0200 Subject: [PATCH] xso: ensure that feature-gated things render on docs.rs How would you learn about them otherwise? This is particularly important for the derive macros (behind the `derive` feature flag). Fixes #133. --- xso/Cargo.toml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/xso/Cargo.toml b/xso/Cargo.toml index 3653f10e..50f12983 100644 --- a/xso/Cargo.toml +++ b/xso/Cargo.toml @@ -28,3 +28,7 @@ base64 = { version = "0.22", optional = true } macros = [ "dep:xso_proc" ] minidom = [ "xso_proc/minidom"] panicking-into-impl = ["xso_proc/panicking-into-impl"] + +[package.metadata.docs.rs] +all-features = true +rustdoc-args = ["--cfg", "docsrs"]