Skip to content

Update getrandom requirement from 0.1.14 to 0.2.0#1551

Closed
dependabot[bot] wants to merge 1 commit into
masterfrom
dependabot/cargo/getrandom-0.2.0
Closed

Update getrandom requirement from 0.1.14 to 0.2.0#1551
dependabot[bot] wants to merge 1 commit into
masterfrom
dependabot/cargo/getrandom-0.2.0

Conversation

@dependabot
Copy link
Copy Markdown
Contributor

@dependabot dependabot Bot commented on behalf of github Sep 11, 2020

Updates the requirements on getrandom to permit the latest version.

Changelog

Sourced from getrandom's changelog.

[0.2.0] - 2020-09-10

Features for using getrandom on unsupported targets

The following (off by default) Cargo features have been added:

  • "rdrand" - use the RDRAND instruction on no_std x86/x86_64 targets #133
  • "js" - use JavaScript calls on wasm32-unknown-unknown #149
    • Replaces the stdweb and wasm-bindgen features (which are removed)
  • "custom" - allows a user to specify a custom implementation #109

Breaking Changes

  • Unsupported targets no longer compile #107
  • Change/Add Error constants #120
  • Only impl std traits when the "std" Cargo feature is specified #106
  • Remove offical support for Hermit, L4Re, and UEFI #133
  • Remove optional "log" dependancy #131
  • Update minimum supported Linux kernel to 2.6.32 #153
  • Update MSRV to 1.34 #159

#106: rust-random/getrandom#106 #107: rust-random/getrandom#107 #109: rust-random/getrandom#109 #120: rust-random/getrandom#120 #131: rust-random/getrandom#131 #133: rust-random/getrandom#133 #149: rust-random/getrandom#149 #153: rust-random/getrandom#153 #159: rust-random/getrandom#159

[0.1.15] - 2020-09-10

Changed

  • Added support for Internet Explorer 11 #139
  • Fix Webpack require warning with wasm-bindgen #137

#137: rust-random/getrandom#137 #139: rust-random/getrandom#139

[0.1.14] - 2020-01-07

Changed

  • Remove use of spin-locks in the use_file module. #125
  • Update wasi to v0.9. #126
  • Do not read errno value on DragonFlyBSD to fix compilation failure. #129

#125: rust-random/getrandom#125 #126: rust-random/getrandom#126 #129: rust-random/getrandom#129

[0.1.13] - 2019-08-25

Added

  • VxWorks targets support. #86
Commits
  • 5d2a4a2 Update Changelog for 0.2
  • 5f4886b Merge branch 'master' into 0.2
  • b929998 docs: add target triple to docs table
  • e0c155e docs: Clarify deps of root binary crate
  • b8c0c8d custom: Add check for function type
  • 1ebd2ce docs: Clarify intended usage for Custom RNGs
  • a6fa63c docs: Update section headers
  • bf6d124 travis: Make sure to run docs tests for all features
  • b416060 docs: Clarify when/where to use custom implementations
  • e8ff222 docs: Update wasm32 support section
  • 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 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)

@dependabot dependabot Bot added the dependencies Pull requests that update a dependency file label Sep 11, 2020
@jstarry
Copy link
Copy Markdown
Member

jstarry commented Sep 12, 2020

Need to wait until rand is bumped to use getrandom 0.2.0

Comment thread examples/game_of_life/Cargo.toml Outdated
yew = { path = "../../yew" }
rand = { version = "0.7.3", features = ["getrandom"] }
getrandom = { version = "0.1.14", features = ["wasm-bindgen"] }
getrandom = { version = "0.2.0", features = ["wasm-bindgen"] }
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
getrandom = { version = "0.2.0", features = ["wasm-bindgen"] }
getrandom = { version = "0.2.0", features = ["js"] }

Looking at their source it looks like they renamed the feature (before - after)

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yeah, you're totally right. Unfortunately rand still depends on getrandom ^0.1.1 and I think we'll need to wait until rand is published with support for getrandom ^0.2

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yup. I was just browsing around and noticed this would probably break the example once the PR lands.

@dependabot dependabot Bot force-pushed the dependabot/cargo/getrandom-0.2.0 branch from 3cc9aaa to fb6f81c Compare September 21, 2020 22:18
@siku2 siku2 mentioned this pull request Sep 22, 2020
@siku2 siku2 closed this in #1582 Sep 22, 2020
@dependabot @github
Copy link
Copy Markdown
Contributor Author

dependabot Bot commented on behalf of github Sep 22, 2020

OK, I won't notify you again about this release, but will get in touch when a new version is available.

If you change your mind, just re-open this PR and I'll resolve any conflicts on it.

@dependabot dependabot Bot deleted the dependabot/cargo/getrandom-0.2.0 branch September 22, 2020 16:04
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

blocked dependencies Pull requests that update a dependency file

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants