- Added no_std support, enabled by disabled the
std
default feature.
- Added #[inherit_docs] attribute that can be added to anything with "#[derive(CompileConst)]"
- Added the ability to generate attributes for declarations, meaning it's now possible to add rustdocs to generated items.
- Fixed a bug which prevented struct fields from inheriting visibility modifiers.
- Implemented CompileConst for bool.
- No significant changes, but enough testing has been done to prove this works. Going 1.0 to signify that.
- Added support for visability modifiers.
- Removed a useless macro.
- Added const array generation with a trait.
- Added
const_definition!
andconst_declaration!
macros to simplify creation of constants.
- It's now possible generate definitions of structs, enums, and unions defined in build.rs. See the readme for details.
- Removed the CONST_TYPE associated constant from the trait. const_type() no longer takes a
self
param, simplifying the API quite a bit.
- Initial release