Skip to content
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

Update scale-encode requirement from 0.3.0 to 0.5.0 #16

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 Aug 3, 2023

Updates the requirements on scale-encode to permit the latest version.

Release notes

Sourced from scale-encode's releases.

v0.5.0

[v0.5.0] - 2023-08-02

  • Improve custom error handling: custom errors now require Debug + Display on no_std or Error on std. Error::custom() now accepts anything implementing these traits rather than depending on Into<Error> (#13).
  • Enable using #[codec(skip)] or #[encode_as_type(skip)] to ignore fields when using the EncodeAsType macro. Skipping isn't generally necessary, but can be useful in edge cases (such as allowing a multi-field struct to be encoded to a number if all but one numeric field is skipped) (#16).
Changelog

Sourced from scale-encode's changelog.

[v0.5.0] - 2023-08-02

  • Improve custom error handling: custom errors now require Debug + Display on no_std or Error on std. Error::custom() now accepts anything implementing these traits rather than depending on Into<Error> (#13).
  • Enable using #[codec(skip)] or #[encode_as_type(skip)] to ignore fields when using the EncodeAsType macro. Skipping isn't generally necessary, but can be useful in edge cases (such as allowing a multi-field struct to be encoded to a number if all but one numeric field is skipped) (#16).

[v0.4.0] - 2023-07-11

[v0.3.0] - 2023-05-31

  • Remove the generic iterator from EncodeAsFields and ensure that it's object safe. Use a &mut dyn iterator instead.

[v0.2.0] - 2023-05-26

  • Update scale-info to latest, removing deprecated method calls.
  • Change EncodeAsFields to accept an iterator over fields, to allow more flexibility in how we provide fields to encode.

[v0.1.2] - 2023-03-01

Fix a silly typo in the scale-encode-derive README.

[v0.1.1] - 2023-03-01

Improve the documentation with more examples, and tweak BTreeMap encoding and Composite encoding to be more tolerant.

[v0.1.0] - 2023-02-28

Initial release.

Commits

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)

Updates the requirements on [scale-encode](https://github.com/paritytech/scale-encode) to permit the latest version.
- [Release notes](https://github.com/paritytech/scale-encode/releases)
- [Changelog](https://github.com/paritytech/scale-encode/blob/main/CHANGELOG.md)
- [Commits](paritytech/scale-encode@v0.3.0...v0.5.0)

---
updated-dependencies:
- dependency-name: scale-encode
  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 Aug 3, 2023
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