Registry / utility / gtmpl-derive

gtmpl-derive

JSON →
library0.5.0rscratesunverified

Derive macro for gtmpl_value to simplify template value creation.

# Cargo.toml [dependencies] gtmpl_derive = "0.5.0"
INSTALL
IMPORT
SIG · GTMPL-DERIVE
G
gtmpl-derive
utilityrustv0.5.0
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.

GtmplValue
use gtmpl_derive::GtmplValue;

Derives GtmplValue for a struct.

use gtmpl_derive::GtmplValue; #[derive(GtmplValue)] struct MyStruct { name: String, } fn main() { let s = MyStruct { name: "test".into() }; println!("{:?}", s); }
Debug
Known issues

No known issues recorded.

Upgrade
Version history
0.5.0latest on crates.io
Audit
Dependencies

No dependency data recorded yet.

Agent activity
6 hits · last 30 days
node
6
Resources
gtmpl-derive — cargo add gtmpl-derive · libregistry