diff --git a/xso/src/lib.rs b/xso/src/lib.rs index dc484d4ca51718eccf85b93dd2c8b0104b8b37ad..621c4367b8730309b64c2ad5d933e7e96470c287 100644 --- a/xso/src/lib.rs +++ b/xso/src/lib.rs @@ -22,6 +22,7 @@ use of this library in parsing XML streams like specified in RFC 6120. // file, You can obtain one at http://mozilla.org/MPL/2.0/. pub mod error; #[cfg(feature = "minidom")] +#[cfg_attr(docsrs, doc(cfg(feature = "minidom")))] pub mod minidom_compat; mod text; @@ -289,6 +290,7 @@ pub fn transform(from: F) -> Result( from: minidom::Element, ) -> Result {