Skip to content

chore(deps): update nanoid requirement from 0.4 to 0.5#81

Open
dependabot[bot] wants to merge 1 commit intomainfrom
dependabot/cargo/nanoid-0.5
Open

chore(deps): update nanoid requirement from 0.4 to 0.5#81
dependabot[bot] wants to merge 1 commit intomainfrom
dependabot/cargo/nanoid-0.5

Conversation

@dependabot
Copy link
Copy Markdown
Contributor

@dependabot dependabot Bot commented on behalf of github May 4, 2026

Updates the requirements on nanoid to permit the latest version.

Changelog

Sourced from nanoid's changelog.

0.5.0

  • Bump rand to 0.9
  • Add rngs::thread_local random source (#36)
  • format now accepts any FnMut(usize) -> Vec<u8> random generator, enabling seeded and stateful RNGs (#32, #41). Non-capturing fn(usize) -> Vec<u8> callers continue to work unchanged.
  • nanoid! macro size argument now accepts any expression, not only a single token (#28)
  • Specialized fast path for alphabets whose size is a power of two (#35). Note: for seeded RNGs paired with a power-of-two alphabet (e.g. SAFE, the new HEX_* presets), the number of random bytes consumed per ID has changed — the output for a given seed will differ from 0.4.0.
  • Add alphabet::HEX_LOWERCASE and alphabet::HEX_UPPERCASE presets (#39)
  • Optional smartstring feature for small-string-optimized output (#29)
  • Refreshed CI (GitHub Actions across OS matrix), drop Travis/AppVeyor
  • Switched benchmarks to criterion

0.4.0

0.3.0

  • merge #3, from @​TheIronBorn: various small improvements
  • merge #4, from @​delimitry: fix typo in function name
  • Replace the ~ to - in alphabet
  • Add the common macros
  • Refactor structure. Remove pseudo-fast generator. Move format in lib.rs

0.2.0

  • Added support for Windows
  • Moved to system randomness generator

0.1.3

  • Renamed the safe alphabet
  • Added readme from rustdoc

0.1.2

  • Updated the random number engine.
  • Fixed bugs in documentation.

0.1.1

  • Integrated performance tests
  • Added example of custom random number generator.

... (truncated)

Commits
  • 359c02d chore: 0.5.0 release
  • f0ad07f #39: Add hex alphabets
  • 7f961f2 Merge pull request #35 from tmccombs/fast-impl
  • 91a79fc Update fast impl for actual format signature
  • ed800e9 feat: Use specialized implementation for alphabets with size 2^n
  • fef0b2e Merge pull request #41 from sidarth164/sid/fnmut
  • 61e0606 docs: update README and added an example
  • 2004ff9 feat: support passing mutable functions as random generators
  • 3d405c5 Fix ci for prs
  • 7011b10 Fixup readme, delete old example
  • Additional commits viewable in compare view

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 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)

Updates the requirements on [nanoid](https://github.com/mrdimidium/nanoid) to permit the latest version.
- [Changelog](https://github.com/mrdimidium/nanoid/blob/main/CHANGELOG.md)
- [Commits](mrdimidium/nanoid@v0.4.0...v0.5.0)

---
updated-dependencies:
- dependency-name: nanoid
  dependency-version: 0.5.0
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot Bot added dependencies Pull requests that update a dependency file rust Pull requests that update Rust code labels May 4, 2026
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