Skip to content

Commit

Permalink
Update fastrand requirement from 1.8 to 2.0 (#64)
Browse files Browse the repository at this point in the history
Updates the requirements on
[fastrand](https://github.com/smol-rs/fastrand) to permit the latest
version.
<details>
<summary>Release notes</summary>
<p><em>Sourced from <a
href="https://github.com/smol-rs/fastrand/releases">fastrand's
releases</a>.</em></p>
<blockquote>
<h2>v2.0.0</h2>
<ul>
<li><strong>Breaking:</strong> Remove interior mutability from
<code>Rng</code>. (<a
href="https://redirect.github.com/smol-rs/fastrand/issues/47">#47</a>)</li>
<li>Add a <code>fork()</code> method. (<a
href="https://redirect.github.com/smol-rs/fastrand/issues/49">#49</a>)</li>
<li>Add a <code>no_std</code> mode. (<a
href="https://redirect.github.com/smol-rs/fastrand/issues/50">#50</a>)</li>
<li>Add an iterator selection function. (<a
href="https://redirect.github.com/smol-rs/fastrand/issues/51">#51</a>)</li>
<li>Add a <code>choose_multiple()</code> function for sampling several
elements from an iterator. (<a
href="https://redirect.github.com/smol-rs/fastrand/issues/55">#55</a>)</li>
<li>Use the <code>getrandom</code> crate for seeding on WebAssembly
targets if the <code>js</code> feature is enabled. (<a
href="https://redirect.github.com/smol-rs/fastrand/issues/60">#60</a>)</li>
</ul>
</blockquote>
</details>
<details>
<summary>Changelog</summary>
<p><em>Sourced from <a
href="https://github.com/smol-rs/fastrand/blob/master/CHANGELOG.md">fastrand's
changelog</a>.</em></p>
<blockquote>
<h1>Version 2.0.0</h1>
<ul>
<li><strong>Breaking:</strong> Remove interior mutability from
<code>Rng</code>. (<a
href="https://redirect.github.com/smol-rs/fastrand/issues/47">#47</a>)</li>
<li>Add a <code>fork()</code> method. (<a
href="https://redirect.github.com/smol-rs/fastrand/issues/49">#49</a>)</li>
<li>Add a <code>no_std</code> mode. (<a
href="https://redirect.github.com/smol-rs/fastrand/issues/50">#50</a>)</li>
<li>Add an iterator selection function. (<a
href="https://redirect.github.com/smol-rs/fastrand/issues/51">#51</a>)</li>
<li>Add a <code>choose_multiple()</code> function for sampling several
elements from an iterator. (<a
href="https://redirect.github.com/smol-rs/fastrand/issues/55">#55</a>)</li>
<li>Use the <code>getrandom</code> crate for seeding on WebAssembly
targets if the <code>js</code> feature is enabled. (<a
href="https://redirect.github.com/smol-rs/fastrand/issues/60">#60</a>)</li>
</ul>
<h1>Version 1.9.0</h1>
<ul>
<li>Add <code>Rng::fill()</code> (<a
href="https://redirect.github.com/smol-rs/fastrand/issues/35">#35</a>,
<a
href="https://redirect.github.com/smol-rs/fastrand/issues/43">#43</a>)</li>
<li>Add <code>#[must_use]</code> to <code>Rng::with_seed()</code> (<a
href="https://redirect.github.com/smol-rs/fastrand/issues/46">#46</a>)</li>
</ul>
<h1>Version 1.8.0</h1>
<ul>
<li>Add <code>get_seed()</code> and <code>Rng::get_seed()</code> (<a
href="https://redirect.github.com/smol-rs/fastrand/issues/33">#33</a>)</li>
</ul>
<h1>Version 1.7.0</h1>
<ul>
<li>Add <code>char()</code> and <code>Rng::char()</code> (<a
href="https://redirect.github.com/smol-rs/fastrand/issues/25">#25</a>)</li>
</ul>
<h1>Version 1.6.0</h1>
<ul>
<li>Implement <code>PartialEq</code> and <code>Eq</code> for
<code>Rng</code> (<a
href="https://redirect.github.com/smol-rs/fastrand/issues/23">#23</a>)</li>
</ul>
<h1>Version 1.5.0</h1>
<ul>
<li>Switch to Wyrand (<a
href="https://redirect.github.com/smol-rs/fastrand/issues/14">#14</a>)</li>
</ul>
<h1>Version 1.4.1</h1>
<ul>
<li>Fix bug when generating a signed integer within a range (<a
href="https://redirect.github.com/smol-rs/fastrand/issues/16">#16</a>)</li>
</ul>
<h1>Version 1.4.0</h1>
<ul>
<li>Add wasm support.</li>
</ul>
<h1>Version 1.3.5</h1>
<ul>
<li>Reword docs.</li>
<li>Add <code>Rng::with_seed()</code>.</li>
</ul>
<h1>Version 1.3.4</h1>
<ul>
<li>Implement <code>Clone</code> for <code>Rng</code>.</li>
</ul>
<h1>Version 1.3.3</h1>
<ul>
<li>Forbid unsafe code.</li>
</ul>
<!-- raw HTML omitted -->
</blockquote>
<p>... (truncated)</p>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a
href="https://github.com/smol-rs/fastrand/commit/6315dd1907b735a0b7585dd1d84d0f50b21f40b5"><code>6315dd1</code></a>
v2.0.0</li>
<li><a
href="https://github.com/smol-rs/fastrand/commit/447ebc0089977bb6e3c9bb23c11f7842f77b4d3b"><code>447ebc0</code></a>
Update permissions for security_audit</li>
<li><a
href="https://github.com/smol-rs/fastrand/commit/eb78d89d4a25157778b744a54b8cc207c7480170"><code>eb78d89</code></a>
Use getrandom for seeding the RNG on WASM targets (<a
href="https://redirect.github.com/smol-rs/fastrand/issues/60">#60</a>)</li>
<li><a
href="https://github.com/smol-rs/fastrand/commit/46527e07b095a2a00be75cb5ee521cc27fe6c571"><code>46527e0</code></a>
Mention no_std support in the docs (<a
href="https://redirect.github.com/smol-rs/fastrand/issues/58">#58</a>)</li>
<li><a
href="https://github.com/smol-rs/fastrand/commit/5706126c924ee3fa2f93f3aa7eccd9ef82da3e4a"><code>5706126</code></a>
Add choose_multple function for choosing several values (<a
href="https://redirect.github.com/smol-rs/fastrand/issues/55">#55</a>)</li>
<li><a
href="https://github.com/smol-rs/fastrand/commit/f939572a41fc01f03dd239d72c52fdeba3456274"><code>f939572</code></a>
docs: Add indicators for methods that are std-only (<a
href="https://redirect.github.com/smol-rs/fastrand/issues/53">#53</a>)</li>
<li><a
href="https://github.com/smol-rs/fastrand/commit/c1cbe9b5473ca9d1050f715e584bc4e82cf6f86f"><code>c1cbe9b</code></a>
feat: Add an iterator selection function (<a
href="https://redirect.github.com/smol-rs/fastrand/issues/51">#51</a>)</li>
<li><a
href="https://github.com/smol-rs/fastrand/commit/a636da29bb8f1902f2fbbc072fb3906e0e70cca5"><code>a636da2</code></a>
Fix no-std check</li>
<li><a
href="https://github.com/smol-rs/fastrand/commit/fb7fe0be4c06f0dee0af8141539ec30a017c5342"><code>fb7fe0b</code></a>
Disable dependency on instant when std feature is disabled</li>
<li><a
href="https://github.com/smol-rs/fastrand/commit/12e49cae8750f89f480d59c1c5155fdc3ddd0513"><code>12e49ca</code></a>
feat: Add no_std mode (<a
href="https://redirect.github.com/smol-rs/fastrand/issues/50">#50</a>)</li>
<li>Additional commits viewable in <a
href="https://github.com/smol-rs/fastrand/compare/v1.8.0...v2.0.0">compare
view</a></li>
</ul>
</details>
<br />


Dependabot will resolve any conflicts with this PR as long as you don't
alter it yourself. You can also trigger a rebase manually 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 merge` will merge this PR after your CI passes on it
- `@dependabot squash and merge` will squash and merge this PR after
your CI passes on it
- `@dependabot cancel merge` will cancel a previously requested merge
and block automerging
- `@dependabot reopen` will reopen this PR if it is closed
- `@dependabot close` will close this PR and stop Dependabot recreating
it. You can achieve the same result by closing it manually
- `@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>

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
  • Loading branch information
dependabot[bot] committed Jun 12, 2023
1 parent f68839b commit b7ed5b4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ default-features = false
features = ["bevy_asset"]

[dev-dependencies]
fastrand = "1.8"
fastrand = "2.0"

[dev-dependencies.bevy]
# git = "https://github.com/bevyengine/bevy.git"
Expand Down

0 comments on commit b7ed5b4

Please sign in to comment.