euv-macros 0.4.5

Procedural macros for the euv UI framework, providing the macro and attribute for declarative UI composition.
Documentation
/// Environment variable name for the project manifest directory.
pub(crate) const CARGO_MANIFEST_DIR: &str = "CARGO_MANIFEST_DIR";

/// Source directory name within a Cargo project.
pub(crate) const SRC_DIR: &str = "src";

/// Rust source file extension.
pub(crate) const RUST_FILE_EXTENSION: &str = "rs";

/// Attribute name for marking component functions.
pub(crate) const COMPONENT_ATTR: &str = "component";

/// Attribute key name for CSS class bindings.
pub(crate) const ATTR_KEY_CLASS: &str = "class";

/// Attribute key name for inline style bindings.
pub(crate) const ATTR_KEY_STYLE: &str = "style";

/// Attribute key name for children slot bindings.
pub(crate) const ATTR_KEY_CHILDREN: &str = "children";

/// Prefix for event handler attribute keys (e.g., `onclick`, `onchange`).
pub(crate) const EVENT_ATTR_PREFIX: &str = "on";