Ver Fonte

rustsbi: bump version to 0.2.2

Small fix
luojia65 há 3 anos atrás
pai
commit
86673a9f7c
3 ficheiros alterados com 20 adições e 5 exclusões
  1. 16 1
      CHANGELOG.md
  2. 3 3
      Cargo.toml
  3. 1 1
      src/guest.rs

+ 16 - 1
CHANGELOG.md

@@ -7,11 +7,24 @@ to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
 
 ## Unreleased
 
+### Added
+
+### Modified
+
+### Fixed
+
+## [0.2.2] - 2022-03-23
+
+This update adapts to ratified RISC-V SBI v1.0.0 specification, it's recommended for users to update to
+the latest RustSBI version.
+
 ### Added
 - Support for RISC-V SBI v1.0.0 Ratified Specification
 - Internal guest and instance module
 
 ### Modified
+- Use Rust 2021 edition
+- Update dependency `embedded-hal` to v0.2.7
 
 ## [0.2.1] - 2022-02-14
 
@@ -100,7 +113,9 @@ RustSBI is adapted to SBI standard with implementation number 4.
 - RISC-V Privileged Specification v1.11
 - Backward compatible to privileged spec v1.9.1
 
-[Unreleased]: https://github.com/rustsbi/rustsbi/compare/v0.2.0...HEAD
+[Unreleased]: https://github.com/rustsbi/rustsbi/compare/v0.2.2...HEAD
+[0.2.2]: https://github.com/rustsbi/rustsbi/compare/v0.2.1...v0.2.2
+[0.2.1]: https://github.com/rustsbi/rustsbi/compare/v0.2.0...v0.2.1
 [0.2.0]: https://github.com/rustsbi/rustsbi/compare/v0.1.1...v0.2.0
 [0.1.1]: https://github.com/rustsbi/rustsbi/compare/v0.1.0...v0.1.1
 [0.1.0]: https://github.com/rustsbi/rustsbi/compare/v0.0.2...v0.1.0

+ 3 - 3
Cargo.toml

@@ -1,7 +1,7 @@
 [package]
 name = "rustsbi"
 description = "Minimal RISC-V's SBI implementation library in Rust"
-version = "0.2.1"
+version = "0.2.2"
 authors = [
     "Luo Jia <[email protected]>",
     "Campbell He <[email protected]>",
@@ -13,10 +13,10 @@ license = "MulanPSL-2.0 OR MIT"
 readme = "README.md"
 keywords = ["riscv", "sbi", "rustsbi"]
 categories = ["os", "embedded", "hardware-support", "no-std"]
-edition = "2018"
+edition = "2021"
 
 [dependencies]
-embedded-hal = "0.2.6"
+embedded-hal = "0.2.7"
 nb = "1.0"
 riscv = "0.7"
 

+ 1 - 1
src/guest.rs

@@ -1,5 +1,5 @@
 //! Guest pointer width which differs from host pointer width
-//! 
+//!
 //! Useful for developing hypervisors.
 
 // TODO: design this module