Skip to content

Conversation

@bkchr
Copy link
Member

@bkchr bkchr commented Apr 6, 2021

The user can now specify a custom where bound when using the derive
macros:

  • #[codec(encode_bound(T: Encode))] for Encode
  • #[codec(decode_bound(T: Encode))] for Decode

If nothing is specified (encode_bound()) the where bounds will be empty.

The user can now specify a custom where bound when using the derive
macros:

- `#[codec(encode_bound(T: Encode))]` for `Encode`
- `#[codec(decode_bound(T: Encode))]` for `Decode`

If nothing is specified (`encode_bound()`) the where bounds will be empty.
@bkchr bkchr requested a review from gui1117 April 6, 2021 14:31
@apopiak
Copy link

apopiak commented Apr 6, 2021

This sounds like a feature additoin -> minor version increase to me?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants