Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions riscv-peripheral/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,9 @@ and this project adheres to [Semantic Versioning](http://semver.org/).

## [Unreleased]

### Changed
- replaced `paste` crate with `pastey` to fix RUSTSEC-2024-0436

## v0.5.0 - 2025-12-19

### Changed
Expand Down
2 changes: 1 addition & 1 deletion riscv-peripheral/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ license = "MIT OR Apache-2.0"

[dependencies]
embedded-hal = "1.0.0"
paste = "1.0"
pastey = "0.2.2"
riscv = { path = "../riscv", version = "0.16.0" }

[package.metadata.docs.rs]
Expand Down
2 changes: 1 addition & 1 deletion riscv-peripheral/src/macros.rs
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
//! Utility macros for generating standard peripherals-related code in RISC-V PACs.

pub use paste::paste;
pub use pastey::paste;

/// Macro to create interfaces to CLINT peripherals in PACs.
/// The resulting struct will provide safe access to the CLINT registers.
Expand Down
1 change: 1 addition & 0 deletions riscv/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@ and this project adheres to [Semantic Versioning](http://semver.org/).
### Changed
- Fix the CSR masks to preserve all legal status bits
- Modify XS and SD bits to read-only summary fields instead of writable fields
- replaced `paste` crate with `pastey` to fix RUSTSEC-2024-0436

## v0.16.0 - 2025-12-19

Expand Down
2 changes: 1 addition & 1 deletion riscv/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -31,4 +31,4 @@ critical-section = "1.2.0"
embedded-hal = "1.0.0"
riscv-types = { path = "../riscv-types", version = "0.1.0" }
riscv-macros = { path = "../riscv-macros", version = "0.4.0", optional = true }
paste = "1.0.15"
pastey = "0.2.2"
2 changes: 1 addition & 1 deletion riscv/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@
#![allow(clippy::eq_op)]
#![allow(clippy::identity_op)]

pub use paste::paste;
pub use pastey::paste;

pub mod asm;
pub mod bits;
Expand Down
Loading