build(deps): bump volatile from 0.4.6 to 0.6.1 #21

Open
nonos-sync wants to merge 1 commit from nonos-sync/gh-358 into main AGit
Member

Bumps volatile from 0.4.6 to 0.6.1.

Changelog

Sourced from volatile's changelog.

0.6.1 – 2024-06-06

0.6.0 – 2024-06-06

Full Changelog: https://github.com/rust-osdev/volatile/compare/v0.5.4...0.6.0

0.5.4 – 2024-04-26

0.5.3 – 2024-04-21

0.5.2 – 2024-03-22

  • Add implementations for fmt::Pointer, PartialEq, Eq, PartialOrd, Ord and Hash.
  • Update very_unstable feature to latest nightly
  • Remove Sized requirement for Send and Sync impls on VolatileRef

0.5.1 – 2023-06-24

  • Fix: Add missing documentation of the map macro

0.5.0 – 2023-06-24

  • Breaking: New design based on raw pointers
    • The previous reference-based design was unsound because it allowed the compiler to insert spurious reads.
    • The new design features two wrapper types for raw pointers: VolatilePtr and VolatileRef
    • VolatilePtr provides safe read and write access to volatile values. Like raw pointers, it implements Copy and is !Sync.
    • VolatileRef is a pointer type that respects Rust's aliasing rules. It doesn't implement Copy, requires a &mut reference for modification, and implements Sync. It can converted to temporary VolatilePtr instances through the as_ptr/as_mut_ptr methods.
  • We now provide methods for volatile slice operations and a map! macro for struct field projection. These advanced features are gated behind a cargo feature named "unstable".
Commits

[image: Dependabot compatibility score](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores)

You can trigger a rebase of this PR by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)

Note

Automatic rebases have been disabled on this pull request as it has been open for over 30 days.


Opened on GitHub by dependabot[bot] as pull request 358. Review and merge happen there while this repository is kept in step from GitHub; this copy follows it, and is marked merged or closed when it is.

Bumps [volatile](https://github.com/rust-osdev/volatile) from 0.4.6 to 0.6.1. <details> <summary>Changelog</summary> <p><em>Sourced from <a href="https://github.com/rust-osdev/volatile/blob/main/Changelog.md">volatile's changelog</a>.</em></p> <blockquote> <h1>0.6.1 – 2024-06-06</h1> <h1>0.6.0 – 2024-06-06</h1> <ul> <li><strong>Breaking:</strong> feat: introduce <code>RestrictAccess&lt;To&gt;</code> and generalize <code>restrict</code> to all access types by <a href="https://github.com/mkroening"><code>@​mkroening</code></a> in <a href="https://redirect.github.com/rust-osdev/volatile/pull/60">rust-osdev/volatile#60</a></li> <li>feat: implement derive macro for all access types by <a href="https://github.com/mkroening"><code>@​mkroening</code></a> in <a href="https://redirect.github.com/rust-osdev/volatile/pull/61">rust-osdev/volatile#61</a></li> <li>fix: add <code>#[must_use]</code> to volatile types, <code>read</code>, and <code>as_raw_ptr</code> by <a href="https://github.com/mkroening"><code>@​mkroening</code></a> in <a href="https://redirect.github.com/rust-osdev/volatile/pull/58">rust-osdev/volatile#58</a></li> <li>Add a semver checks CI job by <a href="https://github.com/phil-opp"><code>@​phil-opp</code></a> in <a href="https://redirect.github.com/rust-osdev/volatile/pull/63">rust-osdev/volatile#63</a></li> </ul> <p><strong>Full Changelog</strong>: <a href="https://github.com/rust-osdev/volatile/compare/v0.5.4...0.6.0">https://github.com/rust-osdev/volatile/compare/v0.5.4...0.6.0</a></p> <h1>0.5.4 – 2024-04-26</h1> <ul> <li>fix(access): properly seal access traits by <a href="https://github.com/mkroening"><code>@​mkroening</code></a> in <a href="https://redirect.github.com/rust-osdev/volatile/pull/59">rust-osdev/volatile#59</a></li> <li>fix(macro): support <code>#[repr(align(N))]</code> in <code>#[derive(VolatileFieldAccess)]</code> macro by <a href="https://github.com/mkroening"><code>@​mkroening</code></a> in <a href="https://redirect.github.com/rust-osdev/volatile/pull/57">rust-osdev/volatile#57</a></li> <li>Fix warnings by <a href="https://github.com/mkroening"><code>@​mkroening</code></a> in <a href="https://redirect.github.com/rust-osdev/volatile/pull/56">rust-osdev/volatile#56</a></li> </ul> <h1>0.5.3 – 2024-04-21</h1> <ul> <li>Add <code>#[derive(VolatileFieldAccess)]</code> for easy, access-limited field-based access to structs by <a href="https://github.com/mkroening"><code>@​mkroening</code></a> in <a href="https://redirect.github.com/rust-osdev/volatile/pull/49">rust-osdev/volatile#49</a></li> <li>Add <code>VolatileRef::restrict</code> and <code>VolatilePtr::restrict</code> by <a href="https://github.com/mkroening"><code>@​mkroening</code></a> in <a href="https://redirect.github.com/rust-osdev/volatile/pull/47">rust-osdev/volatile#47</a></li> <li>Add <code>VolatileRef::borrow</code> and <code>VolatileRef::borrow_mut</code> by <a href="https://github.com/mkroening"><code>@​mkroening</code></a> in <a href="https://redirect.github.com/rust-osdev/volatile/pull/46">rust-osdev/volatile#46</a></li> <li>Add support for nested <code>map_field</code> operations by <a href="https://github.com/phil-opp"><code>@​phil-opp</code></a> in <a href="https://redirect.github.com/rust-osdev/volatile/pull/50">rust-osdev/volatile#50</a></li> <li>docs: remove unused <code>NonNull</code> imports by <a href="https://github.com/mkroening"><code>@​mkroening</code></a> in <a href="https://redirect.github.com/rust-osdev/volatile/pull/48">rust-osdev/volatile#48</a></li> <li>fix(Cargo.toml): add categories by <a href="https://github.com/mkroening"><code>@​mkroening</code></a> in <a href="https://redirect.github.com/rust-osdev/volatile/pull/52">rust-osdev/volatile#52</a></li> </ul> <h1>0.5.2 – 2024-03-22</h1> <ul> <li>Add implementations for <code>fmt::Pointer</code>, <code>PartialEq</code>, <code>Eq</code>, <code>PartialOrd</code>, <code>Ord</code> and <code>Hash</code>.</li> <li>Update <code>very_unstable</code> feature to latest nightly</li> <li>Remove <code>Sized</code> requirement for <code>Send</code> and <code>Sync</code> impls on <code>VolatileRef</code></li> </ul> <h1>0.5.1 – 2023-06-24</h1> <ul> <li>Fix: Add missing documentation of the <code>map</code> macro</li> </ul> <h1>0.5.0 – 2023-06-24</h1> <ul> <li><strong>Breaking:</strong> <a href="https://redirect.github.com/rust-osdev/volatile/pull/29">New design based on raw pointers</a> <ul> <li>The previous reference-based design was <a href="https://redirect.github.com/rust-osdev/volatile/pull/13#issuecomment-842455552">unsound</a> because it allowed the compiler to insert spurious reads.</li> <li>The new design features two wrapper types for raw pointers: <code>VolatilePtr</code> and <code>VolatileRef</code></li> <li><code>VolatilePtr</code> provides safe read and write access to volatile values. Like raw pointers, it implements <code>Copy</code> and is <code>!Sync</code>.</li> <li><code>VolatileRef</code> is a pointer type that respects Rust's aliasing rules. It doesn't implement <code>Copy</code>, requires a <code>&amp;mut</code> reference for modification, and implements <code>Sync</code>. It can converted to temporary <code>VolatilePtr</code> instances through the <code>as_ptr</code>/<code>as_mut_ptr</code> methods.</li> </ul> </li> <li>We now provide methods for volatile slice operations and a <code>map!</code> macro for struct field projection. These advanced features are gated behind a cargo feature named <em>&quot;unstable&quot;</em>.</li> </ul> </blockquote> </details> <details> <summary>Commits</summary> <ul> <li><a href="https://github.com/rust-osdev/volatile/commit/6e288f14bb9bad6331d0d5c7f3813bc6d0977457"><code>6e288f1</code></a> chore: Release</li> <li><a href="https://github.com/rust-osdev/volatile/commit/8b2f547d91689b294fb264e76bb1baeb3033ebbb"><code>8b2f547</code></a> Merge pull request <a href="https://redirect.github.com/rust-osdev/volatile/issues/64">[#64](https://github.com/NON-OS/nonos-micro-kernel/issues/64)</a> from rust-osdev/release</li> <li><a href="https://github.com/rust-osdev/volatile/commit/6aee21105de28e8fce686cfb1695b0bf82c64601"><code>6aee211</code></a> chore: Release</li> <li><a href="https://github.com/rust-osdev/volatile/commit/1ec5762d8fc2d3d3459579b96bcce346cf853d45"><code>1ec5762</code></a> chore: Release</li> <li><a href="https://github.com/rust-osdev/volatile/commit/807cb8148a11ba9c196626b52b310d2c30ab4a44"><code>807cb81</code></a> Update changelog</li> <li><a href="https://github.com/rust-osdev/volatile/commit/ac3a01640f0d93283a9e8def75038bbea85164b6"><code>ac3a016</code></a> Merge pull request <a href="https://redirect.github.com/rust-osdev/volatile/issues/58">[#58](https://github.com/NON-OS/nonos-micro-kernel/issues/58)</a> from mkroening/must-use</li> <li><a href="https://github.com/rust-osdev/volatile/commit/6616c049979c54503a4b0dc4d773f5208e9c2b2c"><code>6616c04</code></a> Merge pull request <a href="https://redirect.github.com/rust-osdev/volatile/issues/61">[#61](https://github.com/NON-OS/nonos-micro-kernel/issues/61)</a> from mkroening/general-derive</li> <li><a href="https://github.com/rust-osdev/volatile/commit/904021d66e0f03b54f76582fa1fb55b7bfd515c0"><code>904021d</code></a> feat: implement derive macro for all access types</li> <li><a href="https://github.com/rust-osdev/volatile/commit/498d08ee600aecfe917fffed60f27d81c5fc7236"><code>498d08e</code></a> refactor(macro): move docs into macro crate</li> <li><a href="https://github.com/rust-osdev/volatile/commit/53c30e7234a83e1ada669e09c673be47aee4ca9f"><code>53c30e7</code></a> Merge pull request <a href="https://redirect.github.com/rust-osdev/volatile/issues/60">[#60](https://github.com/NON-OS/nonos-micro-kernel/issues/60)</a> from mkroening/general-restrict</li> <li>Additional commits viewable in <a href="https://github.com/rust-osdev/volatile/compare/v0.4.6...v0.6.1">compare view</a></li> </ul> </details> <br /> [[image: Dependabot compatibility score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=volatile&package-manager=cargo&previous-version=0.4.6&new-version=0.6.1)](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores) You can trigger a rebase of this PR by commenting `@dependabot rebase`. [//]: # (dependabot-automerge-start) [//]: # (dependabot-automerge-end) --- <details> <summary>Dependabot commands and options</summary> <br /> You can trigger Dependabot actions by commenting on this PR: - `@dependabot rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot show <dependency name> ignore conditions` will show all of the ignore conditions of the specified dependency - `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself) </details> > **Note** > Automatic rebases have been disabled on this pull request as it has been open for over 30 days. --- Opened on GitHub by dependabot[bot] as [pull request 358](https://github.com/NON-OS/nonos-micro-kernel/pull/358). Review and merge happen there while this repository is kept in step from GitHub; this copy follows it, and is marked merged or closed when it is.
Bumps [volatile](https://github.com/rust-osdev/volatile) from 0.4.6 to 0.6.1.
- [Changelog](https://github.com/rust-osdev/volatile/blob/main/Changelog.md)
- [Commits](https://github.com/rust-osdev/volatile/compare/v0.4.6...v0.6.1)

---
updated-dependencies:
- dependency-name: volatile
  dependency-version: 0.6.1
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
This pull request can be merged automatically.
This branch is out-of-date with the base branch
You are not authorized to merge this pull request.
View command line instructions

Checkout

From your project repository, check out a new branch and test the changes.
git fetch -u origin +refs/pull/21/head:nonos-sync/gh-358
git switch nonos-sync/gh-358
Sign in to join this conversation.
No reviewers
No labels
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set

Reference
NON-OS/nonos-micro-kernel!21
No description provided.