1. 17 Jul, 2019 4 commits
  2. 11 Jul, 2019 1 commit
  3. 03 Jul, 2019 1 commit
  4. 02 Jul, 2019 1 commit
  5. 21 Jun, 2019 1 commit
  6. 18 Jun, 2019 1 commit
  7. 14 Jun, 2019 1 commit
  8. 13 Jun, 2019 1 commit
  9. 12 Jun, 2019 2 commits
    • thiolliere's avatar
      move compact to its own file (#98) · f1713e4f
      thiolliere authored
      * move compact to its own file
      
      * fix bit vec and doc test
      
      * add back derive
      
      * address comments
      f1713e4f
    • Andrew Jones's avatar
      Derive `CompactAs` for single field structs (#97) · 215cda34
      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
      215cda34
  10. 11 Jun, 2019 1 commit
  11. 05 Jun, 2019 1 commit
  12. 04 Jun, 2019 1 commit
  13. 03 Jun, 2019 2 commits
  14. 28 May, 2019 1 commit
    • Stanislav Tkach's avatar
      Support BitVec, BitBox and BitSlice (#81) · b980954c
      Stanislav Tkach authored and asynchronous rob's avatar asynchronous rob committed
      * 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
      b980954c
  15. 28 Apr, 2019 1 commit
    • satellitex's avatar
      Implement Encode/Decode for BTreeSet (#75) · 06a6bdd7
      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's avatarthiolliere <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: default avatarbkchr <bkchr@users.noreply.github.com>
      
      * Update src/codec.rs
      Co-Authored-By: default avatarbkchr <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
      06a6bdd7
  16. 17 Apr, 2019 1 commit
  17. 15 Apr, 2019 3 commits
  18. 02 Apr, 2019 2 commits
    • Bastian Köcher's avatar
      Port derive empty enum to master (#66) · bdcbe67f
      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's avatarthiolliere <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
      bdcbe67f
    • Tomasz Drwięga's avatar
      Simplify implementations and optimize some cases (#59) · f264bbb1
      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: default avatartomusdrw <tomusdrw@users.noreply.github.com>
      
      * Address review grumbles.
      
      * Make note a header.
      
      * Bring back optimized impls for empty types, use faster Output to ArrayVec
      f264bbb1
  19. 01 Apr, 2019 1 commit
  20. 18 Mar, 2019 1 commit
  21. 12 Mar, 2019 2 commits
  22. 08 Mar, 2019 1 commit
    • Fedor Sakharov's avatar
      decode returns Result instead of Option (#52) · b4a784d3
      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
      b4a784d3
  23. 07 Mar, 2019 1 commit
  24. 28 Feb, 2019 2 commits
  25. 25 Feb, 2019 1 commit
  26. 13 Feb, 2019 1 commit
  27. 12 Feb, 2019 2 commits
  28. 08 Feb, 2019 2 commits