Skip to content

Rust macro to implement a struct and corresponding builder

License

Notifications You must be signed in to change notification settings

azriel91/builder_macro

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

87 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Builder Macro

Crates.io Build Status Coverage Status

This crate contains a builder! macro to declare a struct and a corresponding builder.

The macro is inspired from jadpole/builder-macro, and is designed to remove duplication of field declaration, as well as generating appropriate setter methods.

Documentation

Documentation and usage examples can be found at azriel.im/builder_macro

License

The MIT License

About

Rust macro to implement a struct and corresponding builder

Resources

License

Stars

Watchers

Forks

Packages

No packages published