Skip to content

Commit

Permalink
tock-registers: release v0.8
Browse files Browse the repository at this point in the history
`tock-registers` now supports stable Rust!

There is a small breaking change, documented below, required to support
Rust 2021 edition. Most of the remaining changes are improvements to the
internal self-testing infrastructure and documentation. There are also
some additions to `FieldValue` to improve ergonomics.

**Breaking Changes**

 - #2842: tock-registers: rename TryFromValue::try_from to try_from_value
 - #2833: Update to Rust 2021 edition

Other Changes

 - #3126: [trivial] tock-registers: mark two methods as `const`
 - #3088: tock_registers/test_fields: respect struct size padding w/ alignment
 - #3072: Update Rust nightly version + Expose virtual-function-elimination
     - libraries/tock-register-interface: Fixup register_structs documentation
 - #2988: Remove const_fn_trait_bound feature and update nightly (Mar 2022)
 - #3014: tock-registers: Implement From field enum value type for FieldValue
 - #3013: tock-register-interface: Provide none method for FieldValue type
 - #2916: tock-register-interface: improve read_as_enum documentation
 - #2922: tock-register-interface: replace register tests by const assertions
  • Loading branch information
ppannuto committed Aug 19, 2022
1 parent 915863e commit d202445
Show file tree
Hide file tree
Showing 2 changed files with 27 additions and 1 deletion.
26 changes: 26 additions & 0 deletions libraries/tock-register-interface/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,32 @@

## master

## v0.8

`tock-registers` now supports stable Rust!

There is a small breaking change, documented below, required to support
Rust 2021 edition. Most of the remaining changes are improvements to the
internal self-testing infrastructure and documentation. There are also
some additions to `FieldValue` to improve ergonomics.

### **Breaking Changes**

- #2842: tock-registers: rename TryFromValue::try_from to try_from_value
- #2833: Update to Rust 2021 edition

### Other Changes

- #3126: [trivial] tock-registers: mark two methods as `const`
- #3088: tock_registers/test_fields: respect struct size padding w/ alignment
- #3072: Update Rust nightly version + Expose virtual-function-elimination
- libraries/tock-register-interface: Fixup register_structs documentation
- #2988: Remove const_fn_trait_bound feature and update nightly (Mar 2022)
- #3014: tock-registers: Implement From field enum value type for FieldValue
- #3013: tock-register-interface: Provide none method for FieldValue type
- #2916: tock-register-interface: improve read_as_enum documentation
- #2922: tock-register-interface: replace register tests by const assertions

## v0.7

- #2642: Rename `IntLike` to `UIntLike` to match semantics
Expand Down
2 changes: 1 addition & 1 deletion libraries/tock-register-interface/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "tock-registers"
version = "0.7.0"
version = "0.8.0"
authors = ["Tock Project Developers <[email protected]>"]
description = "Memory-Mapped I/O and register interface developed for Tock."
homepage = "https://www.tockos.org/"
Expand Down

0 comments on commit d202445

Please sign in to comment.