Implement #[xml(flag)] meta

This commit is contained in:
Jonas Schäfer 2025-01-20 17:51:22 +01:00
commit 727e57b756
10 changed files with 423 additions and 2 deletions

View file

@ -39,10 +39,23 @@ mod rxml_util;
pub mod text;
#[doc(hidden)]
#[cfg(feature = "macros")]
pub mod exports {
#[cfg(feature = "minidom")]
pub use minidom;
pub use rxml;
/// The built-in `bool` type.
///
/// This is re-exported for use by macros in cases where we cannot rely on
/// people not having done `type bool = str` or some similar shenanigans.
pub type CoreBool = bool;
/// The built-in `u8` type.
///
/// This is re-exported for use by macros in cases where we cannot rely on
/// people not having done `type u8 = str` or some similar shenanigans.
pub type CoreU8 = u8;
}
use alloc::{