xso: ensure that feature-gated things render on docs.rs

Jonas Schäfer created

How would you learn about them otherwise? This is particularly important
for the derive macros (behind the `derive` feature flag).

Fixes #133.

Change summary

xso/Cargo.toml | 4 ++++
1 file changed, 4 insertions(+)

Detailed changes

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"]