30 releases (15 breaking)

0.16.0 Dec 15, 2022
0.14.0 Oct 13, 2022
0.12.0 Jul 8, 2022
0.10.0 Mar 17, 2022
0.1.1 Jul 18, 2020

#1991 in Magic Beans

Download history 175/week @ 2024-03-12 135/week @ 2024-03-19 108/week @ 2024-03-26 239/week @ 2024-04-02 114/week @ 2024-04-09 150/week @ 2024-04-16 182/week @ 2024-04-23 101/week @ 2024-04-30 105/week @ 2024-05-07 97/week @ 2024-05-14 142/week @ 2024-05-21 100/week @ 2024-05-28 120/week @ 2024-06-04 83/week @ 2024-06-11 114/week @ 2024-06-18 84/week @ 2024-06-25

420 downloads per month
Used in 18 crates (2 directly)

GPL-3.0-only

120KB
3K SLoC

elrond-codec

Lightweight binary serializer/deserializer, written especially for Elrond smart contracts.

Designed to:

  • produce minimal WASM bytecode
  • be fast
  • avoid data copy as much as possible

Largely inspired by the Parity SCALE codec, but a completely different format and implementation.

For more info about the serialization format, see the developer reference.

no-std

Being designed for elrond-wasm smart contracts, it needs to be able to run in a no-std environment.

Dependencies

~150–650KB
~11K SLoC