mapper::Identity
is added as a built-in mapper (#48).
0.3.3 - 2021-08-18
Copy
trait bound is removed fromarray::Generic
andsingle::Generic
(#37).- Tests on CI now runs
cargo test
andcargo doc
(#42).
no\_run
attribute is added to the code example inREADME.md
to avoid a compile error (#38).- Renamed methods are used in the code example instead of deprecated ones (#39, #41).
0.3.2 - 2021-08-04
- These structs are added (#28).
single::Generic
array::Generic
- These type aliases are added (#28).
single::ReadWrite
single::ReadOnly
single::WriteOnly
array::ReadWrite
array::ReadOnly
array::WriteOnly
- License and Contribution sections are added to README (#27).
- An empty
dependencies
section inCargo.toml
is removed (#31). - Changelog is improved (#32).
todo!
is used instead ofunimplemented!
in the documentations.todo!
indicates that the code should be implemented (#33).- The crate-level documentation is imported from
README.md
(#34).
single::Single
in favor ofsingle::ReadWrite
(#28).array::Array
in favor ofarray::ReadWrite
(#28).
0.3.1 - 2021-08-03
- Bors is no longer used for merging PRs (#20).
- Tests on CI are executed on stable Rust, not the nightly one (#21).
- Multiple lints that are allowed by default are now denied (#22).
rustfmt.toml
is deleted so thatcargo fmt
works on stable Rust (#23).
- Methods that are not ended with "volatile" like
Single::read
in favor of methods ending with "volatile" likeSingle::read_volatile
(#24).
- Clippy warnings are fixed (#19).
0.3.0 - 2021-01-29
- Additional crate level documentation is added.
Array::new
andSingle::new
now panic when the requirements are not fulfilled.- Previous
Array::new
andSingle::new
are renamed toArray::try_new
andSingle::try_new
respectively.
0.2.0 - 2021-01-26
- The return type of
Mapper::map
is changed fromusize
toNonZeroUsize
. - Safety notes of methods are edited.
0.1.0 - 2021-01-24
- Initial version.