Skip to content

Bump nanorand from 0.5.2 to 0.7.0 in /generative_art #56

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

dependabot[bot]
Copy link

@dependabot dependabot bot commented on behalf of github Feb 7, 2025

Bumps nanorand from 0.5.2 to 0.7.0.

Release notes

Sourced from nanorand's releases.

nanorand v0.7.0

Changelog (from 0.6.1)

  • Reworked the API heavily
    • The Rng trait now uses const generics for output length, rather than an associated type
    • Added Rng::fill_bytes, and reworked RandomGen implementations to use it.
    • Rng::reseed was move into the new SeedableRng trait.
    • All RNGs now have a Debug implementation
  • Completely reworked the C API.
  • Added BufferedRng, a wrapper around an Rng that buffers output, and will use buffered output rather than wasting perfectly good random bytes.
  • Set MSRV at Rust 1.56.0
    • Rust 2021 is used.
  • Removed nanorand-py (not like anyone used it anyways)
  • Fixed signed integer generation!
  • Clarified in the docs that RandomRange will panic with an invalid range.

nanorand 0.6.1

Changelog

  • Fixed an unsoundness in TlsWyrand allowing for aliased mutable references.

nanorand 0.6.0

This is the big one, folks! Breaking changes, obviously.

Changelog

  • Renamed RNG to Rng
  • RandomGen will no longer panic if lower > upper (Absolucy/nanorand-rs#24)
  • Added RandomGen support for signed integers (Absolucy/nanorand-rs#9) and floats (Absolucy/nanorand-rs#20)
    • RandomGen for float will generate an float in the range of 0 <= x <= 1
  • Added RandomRange support for signed integers (Absolucy/nanorand-rs#9)
  • Fixed RandomRange having weird in/exclusivity (Absolucy/nanorand-rs#21)
  • ChaCha now has a const generic of how many rounds it is. This speeds it up slightly.
  • TlsWyRand is now reference-counted.
  • Added some unit tests to ensure that RandomRange works properly.
Commits

Dependabot compatibility score

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 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 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 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)
    You can disable automated security fix PRs for this repo from the Security Alerts page.

Bumps [nanorand](https://github.com/Absolucy/nanorand-rs) from 0.5.2 to 0.7.0.
- [Release notes](https://github.com/Absolucy/nanorand-rs/releases)
- [Commits](https://github.com/Absolucy/nanorand-rs/commits/0.7.0)

---
updated-dependencies:
- dependency-name: nanorand
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <[email protected]>
@dependabot dependabot bot added dependencies Pull requests that update a dependency file rust Pull requests that update Rust code labels Feb 7, 2025
Copy link

vercel bot commented Feb 7, 2025

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
sabithpocker-github-io-znk7-qyup ✅ Ready (Inspect) Visit Preview 💬 Add feedback Feb 7, 2025 2:13am

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
dependencies Pull requests that update a dependency file rust Pull requests that update Rust code
Projects
None yet
Development

Successfully merging this pull request may close these issues.

0 participants