Crate sails_macros

Source
Expand description

Procedural macros for the Sails framework.

Attribute Macrosยง

event
Defines event for using within Gear and Ethereum ecosystem.
export
Customizes how a service/program method is exposed based on specified arguments.
program
Generates code for turning a Rust impl block into a Sails program based on a set of public methods of the block. See documentation for details.
service
Generates code for turning a Rust impl block into a Sails service based on a set of public methods of the block. See documentation for details.