Skip to content

A macro based tool for automagically generating structs.

License

Notifications You must be signed in to change notification settings

robertDurst/struct_gen

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

19 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

struct_gen

Build Status Current Version

A macro based tool for automagically generating structs. Experimental -- aka written as I was learning about macros.

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

About

A macro based tool for automagically generating structs.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages