[−][src]Crate rocket_contrib_codegen
Rocket Contrib - Code Generation
This crate implements the code generation portion of the Rocket Contrib crate. This is for officially sanctioned contributor libraries that require code generation of some kind.
This crate includes custom derives and procedural macros and will expand
as-needed if future rocket_contrib
features require code generation
facilities.
Procedural Macros
This crate implements the following procedural macros:
- databases
The syntax for the databases
macro is:
macro := database(DATABASE_NAME) DATABASE_NAME := (string literal)