- 12 Mar, 2019 2 commits
-
-
thiolliere authored
* forward encoding for single field struct * code refactor
-
Qinxuan Chen authored
* Implement Encode and Decode for [T; 33] and [T; 65] Signed-off-by:
koushiro <koushiro.cqx@gmail.com> * Implement Encode and Decode for all array types in arrayvec Signed-off-by:
koushiro <koushiro.cqx@gmail.com> * Merge multiple impl_array Signed-off-by:
koushiro <koushiro.cqx@gmail.com>
-
- 08 Mar, 2019 1 commit
-
-
Fedor Sakharov authored
* decode returns Result instead of Option Fixes #33 * don't use String inside Error * some fixes to formatting and error messages * fix review * implements std::error::Error and std::fmt::Display for Error * removes implementation of ToString * fixes error message for decoding Enum * generate error messages with format!() outside of the quote!() * refactors error message generation * adds simple sanity tests * adds from str implementation for error * adds tests for named structs fields * remove all the literal error messages from no_std builds * brings back PartialEq lost along the way * fix review v3
-
- 07 Mar, 2019 1 commit
-
-
thiolliere authored
-
- 28 Feb, 2019 2 commits
-
-
Bastian Köcher authored
-
Bastian Köcher authored
* Work around a compiler bug that does not like self recursive where clauses * Some code refactor * Adds missing new lines
-
- 25 Feb, 2019 1 commit
-
-
thiolliere authored
-
- 13 Feb, 2019 1 commit
-
-
Aton authored
* provide BTreeMap Encode/Decode * add btreemap test
-
- 12 Feb, 2019 2 commits
-
-
* Make use of `proc-macro-crate` * use syntax of rust 2018
-
thiolliere authored
-
- 08 Feb, 2019 2 commits
-
-
Dmitry Kashitsyn authored
* Fixes test * Refactors panics to compile errors
-
Dmitry Kashitsyn authored
* Adds trait bounds based on used types * Adds test * Cleans up the code * Cleans up the code, attempts to add spanned errors * Fixes error reporting * Adds non-encodable type to the test * Apply suggestions from code review Co-Authored-By:
0x7CFE <korvin@deeptown.org> * Fix typo Co-Authored-By:
0x7CFE <korvin@deeptown.org>
-
- 06 Feb, 2019 1 commit
-
-
- 22 Jan, 2019 5 commits
-
-
thiolliere authored
-
Bastian Köcher authored
-
-
Bastian Köcher authored
delete Encode requirement
-
thiolliere authored
this is not necessary anymore as in substrate we don't use HasCompact::Type in arguments anymore And so it allows get rid of Copy in srml-staking for example
-
- 21 Jan, 2019 1 commit
-
-
Bastian Köcher authored
generalize #[codec(compact)]
-
- 18 Jan, 2019 2 commits
-
-
thiolliere authored
-
thiolliere authored
-
- 16 Jan, 2019 7 commits
-
-
Bastian Köcher authored
Prepare 2.2 release
-
Bastian Köcher authored
-
Bastian Köcher authored
-
Bastian Köcher authored
Resolve issue + extend Compact
-
thiolliere authored
it is not necessar anymore
-
thiolliere authored
-
thiolliere authored
so it requires everything to be HasCompact
-
- 15 Jan, 2019 2 commits
-
-
thiolliere authored
-
thiolliere authored
In order for the HasCompact::Type to be usable in substrate
-
- 14 Jan, 2019 3 commits
-
-
Bastian Köcher authored
Add repository and categories fields to Cargo.toml
-
Hero Bird authored
-
Bastian Köcher authored
Add no_std impl for some types
-
- 10 Jan, 2019 7 commits