All changes to this project will be noted in this file
- Added support for full paths to primitives (
std::primitives::u8
orcore::primitives::u8
, for example) - Added full support for nesting:
- Nested arrays
- Nested tuples
- Nesting arrays in tuples
- Nesting tuples in arrays
- Added the
Constdef
(#[derive(Constdef)]
) derive macro for generating compile-time, constant default implementations
- Added the
#[gtor_const]
and#[ctor_const]
attributes for providing compile-time ctors and getters - Added the
#[gtor_copy]
attribute for compoundCopy
types (UDFs) - Added the
#[gtor_skip]
attribute for skipping gtors for specific fields - Added the
#[stor_skip]
attribute for skipping stors for specific fields - Added the
#[phantom]
attribute for skipping ctors, gtors and stors forPhantomData
fields - Added the
gtor
attribute for passing#[gtor(get, get_mut)]
to make only mutable getters, only immutable getters, or both
- Fixed incorrect compiler error messages and inconsistencies in the documentation
- Added the
Stor
macro for generating setters - Added support for generic paramters (and lifetimes) in all the macros
Added the Gtor
macro for generating getters. Gtor
will automatically generate getters, automatically
copy some primitive types and add documentation comments.
Fixed field re-ordering in the Ctor
macro
Added the Ctor
macro