struct_gen 0.1.1

Automagically generate structs.
Documentation

struct_gen

Build Status Current Version

A macro based tool for automagically generating structs.

Goals

Outlined in the milestone/issues section.

Changelog

  • 0.1.1 - August 5, 2018
    • Support for lifetimes
    • Support for 10 of 11 primitive types (tuples will come with next release) including:
      • Signed integers
      • Unsigned integers
      • Boolean
      • Char
      • Vectors (std::vec::Vec)
      • Arrays (maximum size of 10 for now)
      • Slices
      • Floats
      • str
      • Strings
    • Added dependency on a procedural macro to generate array implementations for Zero trait (a bit hackish at the moment)
      • Learn about struct_gen_derive here
  • 0.1.0 - July 30, 2018
    • Minimum viable crate
    • Ability to generate struct's with constructor for most basic primitives
    • Began implementing struct_gen! and impl_zero! macros
    • Created Zero trait for definition of zero-or-override method on types