v0.4.0
·
32 commits
to main
since this release
What's Changed
- Compile time check for padding now works reliably
- Add
no_ctorsattribute which allows the user to write custom constructors. - Reworked access modifiers. RO and RW were replaced by PureRead, Read, Write and Modify access modifiers.
What's New
- Allow field types which also derive
Mmioas long as they are annotated with#[mmio(inner)] - Added support for array fields
- Added unsafe clone method on
Mmiostructure - Implement
Sendfor generated MMIO block.
Pull Requests
- Add no_ctor outer attribute, change for padding check by @robamu in #20
- Inner MMIO Feature by @robamu in #22
- Array support by @robamu in #25
- inline some generated functions by @robamu in #30
- bound checks are done in separate function by @robamu in #29
- unsafe fn to clone MMIO by @robamu in #33
- Small typo fix by @skade in #35
- add ptr getter method by @robamu in #37
- Add send impl and improve docs by @robamu in #36
- remove dependency which slipped in by accident by @robamu in #39
- Fix control/status mix-up in lib.rs text. by @jonathanpallant in #40
- Rework access modifiers by @robamu in #38
- chore: fix several small typos by @poliorcetics in #41
- Updated output observed on Rust 1.86 by @jonathanpallant in #43
- Release v0.4.0 by @jonathanpallant in #42
New Contributors
- @skade made their first contribution in #35
- @poliorcetics made their first contribution in #41
Full Changelog: derive-mmio-v0.3.0...derive-mmio-v0.4.0