Improve macro hygiene of Encode and Decode proc. macro expansions. (#291, #293)
[2.3.0] - 2021-09-11
Added
decode_and_advance_with_depth_limit to the DecodeLimit trait. This allows advancing the cursor while decoding the input. PR #286
[2.2.0] - 2021-07-02
Added
Add support for custom where bounds codec(mel_bound(T: MaxEncodedLen)) when deriving the traits. PR #279
MaxEncodedLen trait for items that have a statically known maximum encoded size. (#268)
#[codec(crate = <path>)] top-level attribute to be used with the new MaxEncodedLen
trait, which allows to specify a different path to the crate that contains the MaxEncodedLen trait.
Useful when using generating a type through a macro and this type should implement MaxEncodedLen and the final crate doesn't have parity-scale-codec as dependency.
[2.1.3] - 2021-06-14
Changed
Lint attributes now pass through to the derived impls of Encode, Decode and CompactAs. PR #272
[2.1.0] - 2021-04-06
Fix
Add support for custom where bounds codec(encode_bound(T: Encode)) and codec(decode_bound(T: Decode)) when
deriving the traits. Pr #262
You can trigger a rebase of this PR 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)
Bumps parity-scale-codec from 1.3.6 to 3.0.0.
Release notes
Sourced from parity-scale-codec's releases.
Changelog
Sourced from parity-scale-codec's changelog.
... (truncated)
Commits
9d4629d
set version 3.0 (#39)72bc92b
UpdateCargo.lock
(#37)0ffaa9d
Update to parity-codec/-derive to2.3.0
(#36)d63123b
Merge pull request #35 from paritytech/gui-light-hascompact3e802c8
delete Encode requirement0e05c6e
Merge pull request #34 from paritytech/gui-generalize-compact6c71f05
testsf4d8911
generalize compact07c93ac
Merge pull request #32 from paritytech/bkchr-new-release53f7a8e
Move tests to remove cyclic depdendenciesYou can trigger a rebase of this PR 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)