- 29 Jul, 2019 4 commits
-
-
thiolliere authored
* few more type * update versions
-
Bastian Köcher authored
* Add `EncodeLike` * Some stuff * Make it work * Review feedback * Add example * Update README * Add bound
-
thiolliere authored
-
Stanislav Tkach authored
-
- 25 Jul, 2019 3 commits
-
-
Wei Tang authored
* Add generic-array support * Add vecarray support * Use 0.12 version of generic-array * Update cargo lock * Move impl to separate files * Make sure std features of vecarray are disabled by default * Use with_capacity * Add features to CI * Add missing license * Add tests for generic-array * Add tests for vec-array * Apply suggestions from code review
-
Bastian Köcher authored
* Improve `EncodeAppend` api and clean up code * Fix compilation
-
thiolliere authored
* impl bound to input_len * typo * fix + doc * fix * hide alloc * address issues
-
- 24 Jul, 2019 1 commit
-
-
thiolliere authored
* derive full single optimisation * refactor
-
- 21 Jul, 2019 1 commit
-
-
thiolliere authored
* fix io reader * Revert "Implement min_encoded_len and required_len (#119)" This reverts commit 2b66d2ce.
-
- 19 Jul, 2019 1 commit
-
-
thiolliere authored
-
- 17 Jul, 2019 4 commits
-
-
thiolliere authored
* no std works on stable + CI * bump version to 0.1
-
-
thiolliere authored
-
-
- 11 Jul, 2019 1 commit
-
-
- 03 Jul, 2019 1 commit
-
-
thiolliere authored
* new api * Apply suggestions from code review Co-Authored-By:
Bastian Köcher <bkchr@users.noreply.github.com>
-
- 02 Jul, 2019 1 commit
-
-
This commit adds a fuzzing harness to fuzz the decode functions defined by parity-scale-codec.
-
- 21 Jun, 2019 1 commit
-
-
Kian Peymani authored
-
- 18 Jun, 2019 1 commit
-
-
Kian Peymani authored
* Basic len for vec and mappings. * Fix link * Slicify. * Support collection types. * Usize. * Better usize. * Update src/codec.rs
-
- 14 Jun, 2019 1 commit
-
-
thiolliere authored
* vecdeque * impl for all collections * reorganize test * Apply suggestions from code review Co-Authored-By:
Bastian Köcher <bkchr@users.noreply.github.com> * remove wip bench
-
- 13 Jun, 2019 1 commit
-
-
* Fixed links in readme. * fixed link for compact encoding doc * fixed links in crate docs
-
- 12 Jun, 2019 2 commits
-
-
thiolliere authored
* move compact to its own file * fix bit vec and doc test * add back derive * address comments
-
Andrew Jones authored
* Basic CompactAs derive * Support single field named structs * Extract function to wrap impl in dummy const * Support single non-skipped field * Restore original include_parity_scale_codec_crate function * Add test for Compact<T> codec
-
- 11 Jun, 2019 1 commit
-
-
Stanislav Tkach authored
-
- 05 Jun, 2019 1 commit
-
-
Gautam Dhameja authored
* Documentation for Parity SCALE Codec. * addressed review comments on docs * added example for CompactAs and fixed a test * minor fixes
-
- 04 Jun, 2019 1 commit
-
-
Bastian Köcher authored
* Rename to `parity-scale-codec` and revert version to 1.0 * Fix compilation after renaming * Fix benchmarks * Update src/lib.rs Co-Authored-By:
thiolliere <gui.thiolliere@gmail.com> * Remove last parity-codec leftovers
-
- 03 Jun, 2019 2 commits
-
-
thiolliere authored
-
thiolliere authored
Encode/Decode has now a new associated const that tells if the type is u8, that allow some kind of specialization when implementing Encode/Decode for `Vec<u8>`
-
- 28 May, 2019 1 commit
-
-
* Support BitVec * Move bitvec related parts into a separate file * Generic Encode implementation * Make decode implementation generic and add more tests * Add BitBox and BitSlice implementations * More detailed byte slice casting error description * Fix formatting
-
- 28 Apr, 2019 1 commit
-
-
satellitex authored
* release parity-codec v3.2 * impl skip fields and variants (#58) * impl skip variants * impl skip on fields * reorganize code * in code rename Co-Authored-By:
thiolliere <gui.thiolliere@gmail.com> * in code rename * code refactor * refactor: variant filter * new version of derive (#61) * release codec-v3.3 that forward derive-v3.2 (#63) * Implement empty enum derive (#65) * Implement derive for empty enums * Bump version of parity-codec-derive to 3.3 * Bump parity-codec as well * Backport of "Introduce `EncodeAppend` and `CompactLen`" (#71) * Introduce `EncodeAppend` and `CompactLen` `CompactLen` is implemented by `Compact` to return the encoded length of a given value. `EncodeAppend` is a trait that can be implemented by types that support appending without decoding all previously encoded items. Currently it is implemented by `Vec<T>` and the benchmark shows a speed-up of factor 800x when appending items. * Change `EncodeAppend` signature * Version up of parity-codec * Delete benches.rs * Apply suggestions from code review Co-Authored-By:
bkchr <bkchr@users.noreply.github.com> * Update src/codec.rs Co-Authored-By:
bkchr <bkchr@users.noreply.github.com> * Bkchr encode append v3 remove decode bound (#72) * Removes accidentally added `Decode` bound for `EncodeAppend::Item` * Parity codec version up * Removes `usize` in impl_endian! (#74) * remove usize impl_endian * remove isize * impl codec for btree_set * add use compact * add compact for btree_set * remove duplicate impl and return value changes
-
- 17 Apr, 2019 1 commit
-
-
cheme authored
* mallibility in encoding, do not know if it is acceptable. * even on u8 * Add no malleability. * test all lower bounds * Test Error. * No old school compare. * Test for some case * Update src/codec.rs Co-Authored-By:
cheme <emericchevalier.pro@gmail.com> * Update src/codec.rs Co-Authored-By:
cheme <emericchevalier.pro@gmail.com>
-
- 15 Apr, 2019 3 commits
-
-
Bastian Köcher authored
-
Bastian Köcher authored
* Introduce `EncodeAppend` and `CompactLen` `CompactLen` is implemented by `Compact` to return the encoded length of a given value. `EncodeAppend` is a trait that can be implemented by types that support appending without decoding all previously encoded items. Currently it is implemented by `Vec<T>` and the benchmark shows a speed-up of factor 800x when appending items. * Change `EncodeAppend` signature * Apply suggestions from code review Co-Authored-By:
bkchr <bkchr@users.noreply.github.com>
-
Bastian Köcher authored
We can not just use `usize`, because `quote!` converts `let i: usize = 0;` to `0usize` and this is not accepted as field accessor.
-
- 02 Apr, 2019 2 commits
-
-
Bastian Köcher authored
* release parity-codec v3.2 * impl skip fields and variants (#58) * impl skip variants * impl skip on fields * reorganize code * in code rename Co-Authored-By:
thiolliere <gui.thiolliere@gmail.com> * in code rename * code refactor * refactor: variant filter * new version of derive (#61) * release codec-v3.3 that forward derive-v3.2 (#63) * Implement derive for empty enums * Bump version of parity-codec-derive to 3.3 * Fixes test
-
Tomasz Drwięga authored
* Use .extend from ArrayVec * Bench Vec<u8> as Output * Add size_hints and introduce WrapperType. * Remove redundant Compact implementations. * Add docs and more size_hints. * Add some more detailed docs for read. * Update src/codec.rs Co-Authored-By:
tomusdrw <tomusdrw@users.noreply.github.com> * Address review grumbles. * Make note a header. * Bring back optimized impls for empty types, use faster Output to ArrayVec
-
- 01 Apr, 2019 1 commit
-
-
thiolliere authored
* impl skip fields and variants (#58) * impl skip variants * impl skip on fields * reorganize code * in code rename Co-Authored-By:
thiolliere <gui.thiolliere@gmail.com> * in code rename * code refactor * refactor: variant filter * impl skip variant and fields
-
- 18 Mar, 2019 1 commit
-
-
thiolliere authored
-
- 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>
-