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

#1 in #elrond

Download history 20/week @ 2024-11-13 73/week @ 2024-11-20 99/week @ 2024-11-27 149/week @ 2024-12-04 250/week @ 2024-12-11 52/week @ 2024-12-18 45/week @ 2025-01-01 65/week @ 2025-01-08 141/week @ 2025-01-15 68/week @ 2025-01-22 85/week @ 2025-01-29 207/week @ 2025-02-05 119/week @ 2025-02-12 59/week @ 2025-02-19 159/week @ 2025-02-26

560 downloads per month
Used in 16 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–670KB
~11K SLoC