Skip to content
GitLab
Projects Groups Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
  • Sign in
  • P parity-scale-codec
  • Project information
    • Project information
    • Activity
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
    • Locked Files
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Packages and registries
    • Packages and registries
    • Package Registry
    • Container Registry
    • Infrastructure Registry
  • Analytics
    • Analytics
    • CI/CD
    • Insights
    • Repository
  • Activity
  • Graph
  • Jobs
  • Commits
Collapse sidebar
  • parityparity
  • Mirrored projectsMirrored projects
  • parity-scale-codec
  • Repository
Switch branch/tag
  • parity-scale-codec
  • src
  • lib.rs
Find file BlameHistoryPermalink
  • Peter Goodspeed-Niklaus's avatar
    Move `MaxEncodedLen` from Substrate (#268) · f590442e
    Peter Goodspeed-Niklaus authored Jun 23, 2021
    
    
    * move MaxEncodedLen trait from Substrate
    
    * Move derive macro and tests from Substrate
    
    * only run ui tests when derive feature enabled
    
    * reduce note-taking documentation
    
    Co-authored-by: default avatarBastian Köcher <bkchr@users.noreply.github.com>
    
    * Bless trybuild `tests/max_encoded_len_ui/union.rs` test
    
    * Update docs (these files are not part of substrate)
    
    Co-authored-by: Andronik Ordian's avatarAndronik Ordian <write@reusable.software>
    
    * Mention new `MaxEncodedLen` trait in the CHANGELOG.md
    
    * Prepare a 2.2.0-rc.1 release
    
    This is a pre-release rather than a full release in order to help shape
    the new `MaxEncodedLen` trait used in Substrate in case some more
    involved changes are found out to be required.
    The API did not change since its introduction until now so chances are
    slim but it's good to leave some leeway.
    
    * incorporate changes made to Substrate version of MaxEncodedLen
    
    Note: doesn't include the MaxEncodedLen impl for H160, H256, H512.
    A substrate companion will be necessary to re-add those.
    
    * remove redundant no_std
    
    * Rewrite fn max_encoded_len_trait for clarity
    
    * simplify logic checking for invalid attr
    
    Co-authored-by: default avatarBastian Köcher <bkchr@users.noreply.github.com>
    
    * remove bogus whitespace
    
    Co-authored-by: default avatarBastian Köcher <bkchr@users.noreply.github.com>
    
    * use Path::is_ident() helper
    
    Co-authored-by: default avatarBastian Köcher <bkchr@users.noreply.github.com>
    
    * rm unused import
    
    Co-authored-by: default avatarBastian Köcher <bkchr@users.noreply.github.com>
    Co-authored-by: Igor Matuszewski's avatarIgor Matuszewski <Xanewok@gmail.com>
    Co-authored-by: Andronik Ordian's avatarAndronik Ordian <write@reusable.software>
    f590442e