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.
This commit is contained in:
Jonas Schäfer 2024-07-26 17:07:05 +02:00
parent fce846ae3d
commit f798c2b5bc

View file

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