runar-lang-macros 0.3.4

Proc-macro attributes for Rúnar smart contract development
Documentation

Proc-macro crate for Rúnar smart contract attributes.

  • #[runar::contract] — strips #[readonly] field annotations (since Rust doesn't allow attribute macros on fields) and passes the struct through.
  • #[runar::methods(Name)] — identity macro for impl blocks.
  • #[public] — identity macro marking a spending entry point.