31 stable releases
| 1.19.0 | Jul 7, 2025 |
|---|---|
| 1.17.2 | Jun 23, 2025 |
| 1.0.1 | Jan 19, 2025 |
| 0.21.2 | Jun 23, 2025 |
| 0.0.5 |
|
#7 in #dharitri
99 downloads per month
Used in 16 crates
(2 directly)
125KB
3.5K
SLoC
Smart contract standard codec
Lightweight binary serializer/deserializer, written especially for Dharitri 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 Dharitri 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
~125–345KB