struct_gen

Crates.iostruct_gen
lib.rsstruct_gen
version0.1.1
sourcesrc
created_at2018-07-31 04:48:18.357791
updated_at2018-08-05 17:24:15.482341
descriptionAutomagically generate structs.
homepage
repositoryhttps://github.com/robertDurst/struct_gen
max_upload_size
id76749
size12,752
Rob Durst (robertDurst)

documentation

README

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
Commit count: 19

cargo fmt