gtmpl_derive

Crates.iogtmpl_derive
lib.rsgtmpl_derive
version0.5.0
sourcesrc
created_at2017-11-14 07:50:29.380542
updated_at2021-06-07 07:11:46.730925
descriptionDerive for gtmpl_value
homepage
repositoryhttps://github.com/fiji-flo/gtmpl_derive
max_upload_size
id39289
size8,397
Florian Dieminger (fiji-flo)

documentation

https://docs.rs/crate/gtmpl_derive

README

gtmpl_derive   Latest Version

Derive macro for gmtpl_value


[dependencies]
gtmpl_derive = "0.4"

Usage

use gtmpl_derive::Gtmpl;
use gtmpl_value::Value;

#[derive(Gtmpl)]
struct Foo {
    bar: u8
}

fn main() {
    let v: Value = (Foo { bar: 23 }).into();
}
Commit count: 24

cargo fmt