- 02 Jul, 2021 1 commit
-
-
Igor Matuszewski authored
* Hide `trait MaxEncodedLen` behind the new `max-encoded-len` feature * Bump versions to 2.2.0 * Shuffle some cfg feature directives * ci: Test also using the new feature flag
-
- 25 Jun, 2021 1 commit
-
-
Keith Yeung authored
* Support custom trait bounds on MaxEncodedLen derive macro * Bump version to 2.2.0-rc.3 * Reorder error messaging
-
- 24 Jun, 2021 2 commits
-
-
Igor Matuszewski authored
-
Peter Goodspeed-Niklaus authored
* Improve `#[codec(crate = path)]` attribute: path, not string literal Accepting a path instead of a string literal makes life easier for the downstream macros which need to actually use that attribute. * actually test the pass test
-
- 23 Jun, 2021 3 commits
-
-
Igor Matuszewski authored
Cargo will automatically strip dev-dependency for us, which removes the need for manually doing so before publishing the crates. See https://github.com/rust-lang/cargo/pull/7333
-
Igor Matuszewski authored
* Mention new #[codec(crate = ...)] attribute for MaxEncodedLen derive * Update CHANGELOG.md Co-authored-by:
Peter Goodspeed-Niklaus <coriolinus@users.noreply.github.com> * Update CHANGELOG.md Co-authored-by:
Bastian Köcher <bkchr@users.noreply.github.com> Co-authored-by:
Peter Goodspeed-Niklaus <coriolinus@users.noreply.github.com> Co-authored-by:
Bastian Köcher <bkchr@users.noreply.github.com>
-
Peter Goodspeed-Niklaus authored
* 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:
Bastian 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 <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:
Bastian Köcher <bkchr@users.noreply.github.com> * remove bogus whitespace Co-authored-by:
Bastian Köcher <bkchr@users.noreply.github.com> * use Path::is_ident() helper Co-authored-by:
Bastian Köcher <bkchr@users.noreply.github.com> * rm unused import Co-authored-by:
Bastian Köcher <bkchr@users.noreply.github.com> Co-authored-by:
Igor Matuszewski <Xanewok@gmail.com> Co-authored-by:
Andronik Ordian <write@reusable.software>
-
- 15 Jun, 2021 1 commit
-
-
Keith Yeung authored
-
- 14 Jun, 2021 2 commits
-
-
Keith Yeung authored
-
Keith Yeung authored
-
- 08 Jun, 2021 1 commit
-
-
Robin Freyler authored
-
- 29 May, 2021 1 commit
-
-
Qinxuan Chen authored
* Bump proc-macro-crate to v1.0.0 Signed-off-by:
koushiro <koushiro.cqx@gmail.com> * Bump honggfuzz and arbitrary Signed-off-by:
koushiro <koushiro.cqx@gmail.com> * Bump quickcheck to v1.0 Signed-off-by:
koushiro <koushiro.cqx@gmail.com>
-
- 26 May, 2021 1 commit
-
-
Caio authored
* Impl Decode/Encode for Range/RangeInclusive * Typo
-
- 12 Apr, 2021 1 commit
-
-
Bastian Köcher authored
-
- 06 Apr, 2021 2 commits
-
-
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:
Gavin Wood <gavin@parity.io>
-
Austin Abell authored
* Switch array impls to const generics * addr comments
-
- 29 Mar, 2021 1 commit
-
-
Slesarew authored
-
- 26 Feb, 2021 1 commit
-
-
thiolliere authored
Co-authored-by:
Bastian Köcher <bkchr@users.noreply.github.com>
-
- 26 Jan, 2021 2 commits
-
-
thiolliere authored
Co-authored-by:
David <dvdplm@gmail.com>
-
thiolliere authored
-
- 25 Jan, 2021 3 commits
-
-
laizy authored
Co-authored-by:
Guillaume Thiolliere <gui.thiolliere@gmail.com> Co-authored-by:
Bastian Köcher <bkchr@users.noreply.github.com>
-
thiolliere authored
Co-authored-by:
Andronik Ordian <write@reusable.software> Co-authored-by:
Bastian Köcher <bkchr@users.noreply.github.com>
-
Bastian Köcher authored
-
- 22 Jan, 2021 2 commits
-
-
thiolliere authored
-
thiolliere authored
Co-authored-by:
Bastian Köcher <bkchr@users.noreply.github.com> Co-authored-by:
David <dvdplm@gmail.com>
-
- 15 Jan, 2021 1 commit
-
-
Denis_P authored
* CI: add miri test; new phase; remoe CARGO_HOME cache * add miri and falgs to test * Update .gitlab-ci.yml Co-authored-by:
Guillaume Thiolliere <gui.thiolliere@gmail.com>
-
- 14 Jan, 2021 1 commit
-
-
thiolliere authored
-
- 12 Jan, 2021 1 commit
-
-
thiolliere authored
-
- 06 Jan, 2021 1 commit
-
-
thiolliere authored
Co-authored-by: Cheme Co-authored-by:
Brian Anderson <andersrb@gmail.com> Co-authored-by:
Bastian Köcher <bkchr@users.noreply.github.com> Co-authored-by:
David <dvdplm@gmail.com>
-
- 04 Jan, 2021 1 commit
-
-
David authored
-
- 12 Nov, 2020 1 commit
-
-
Shirshak authored
-
- 16 Oct, 2020 3 commits
-
-
Denis_P authored
* change (CI): cache pre-population script; use of cargo home and cargo target caches; rules instead only * fix (CI): wrong pasta * fix (CI): persimmons to the pre_pop script
-
Peter Goodspeed-Niklaus authored
-
Denis_P authored
-
- 08 Oct, 2020 1 commit
-
-
stephaneyfx authored
This makes it easier to write code that uses `Error` with or without `std`.
-
- 06 Oct, 2020 2 commits
-
-
Bastian Köcher authored
-
André Silva authored
-
- 25 Sep, 2020 1 commit
-
-
Vladislav authored
-
- 10 Sep, 2020 1 commit
-
-
thiolliere authored
-
- 07 Jul, 2020 1 commit
-
-
kaichao authored
-