14 unstable releases (3 breaking)
new 0.20.0 | Jul 6, 2024 |
---|---|
0.18.8 | May 7, 2024 |
0.18.6 | Feb 2, 2024 |
0.18.3 | Dec 18, 2023 |
0.17.1 | Jan 18, 2023 |
#702 in Magic Beans
2,976 downloads per month
Used in 15 crates
(4 directly)
125KB
3.5K
SLoC
Smart contract standard codec
Lightweight binary serializer/deserializer, written especially for MultiversX 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 MultiversX smart contracts, it needs to be able to run in a no-std environment.
It is also safe to run in a regular std environment.
The types provided by default all work without an allocator. To use an allocator, pass feature flag "alloc".
Dependencies
~67–430KB