• Bastian Köcher's avatar
    Adds support for custom where bounds (#263) · 46c19554
    Bastian Köcher authored
    
    
    * Adds support for custom where bounds
    
    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.
    
    * Apply suggestions from code review
    
    * Apply suggestions from code review
    
    Co-authored-by: default avatarGavin Wood <gavin@parity.io>
    46c19554
To find the state of this project's repository at the time of any of these versions, check out the tags.