Crate mz_ore_proc

Source
Expand description

Internal utility proc-macros for Materialize.

Note: This is separate from the mz_ore crate because proc-macro crates are only allowed to export procedural macros and nothing else.

Modulesยง

  • instrument ๐Ÿ”’
    instrument macro with improved default safety
  • static_list ๐Ÿ”’
  • test ๐Ÿ”’
    test macro with auto-initialized logging

Attribute Macrosยง

  • Materialize wrapper around the #[tracing::insrument] macro.
  • A macro that collects all of the static objects of a specific type in the annotated module into a single list.
  • Materialize wrapper around the test macro.