Registry / utility / boilerplate

boilerplate

JSON →
library1.2.1rscratesunverified

Minimal compile-time Rust template engine for generating code.

# Cargo.toml [dependencies] boilerplate = "1.2.1"
INSTALL
IMPORT
SIG · BOILERPLATE
B
boilerplate
utilityrustv1.2.1
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

boilerplate
use boilerplate::boilerplate;

Define a simple template function using the boilerplate macro.

use boilerplate::boilerplate; boilerplate! { fn greet(name: &str) -> String { format!("Hello, {}!", name) } } fn main() { println!("{}", greet("world")); }
Debug
Known issues

No known issues recorded.

Upgrade
Version history
1.2.1latest on crates.io
Audit
Dependencies

No dependency data recorded yet.

Agent activity
5 hits · last 30 days
node
4
Meta
1
Resources
boilerplate — cargo add boilerplate · libregistry