Skip to content

0.9.2

Compare
Choose a tag to compare
@maciejhirsz maciejhirsz released this 24 Apr 17:33
· 32 commits to master since this release
  • @grego added serde-esque attributes to the derive macro, to allow struct fields to be renamed or skipped in templates (#30).
    #[derive(Content)]
    struct Data<'a> {
        #[ramhorns(skip)]
        secret: &'a str,
        #[ramhorns(rename = "new")]
        old: &'a str,
    }
  • Ramhorns is now using Logos in it's parser. Combined with some other refactoring it improved parsing throughput immensely.