Crates.io | drt-sc-codec |
lib.rs | drt-sc-codec |
version | 0.0.3 |
source | src |
created_at | 2024-08-27 11:14:18.512303 |
updated_at | 2024-09-02 02:03:48.673453 |
description | Lightweight binary serializer/deserializer, written especially for Dharitri smart contracts |
homepage | https://dharitri.com/ |
repository | https://github.com/DharitriOne/drt-sdk-rs |
max_upload_size | |
id | 1353175 |
size | 159,837 |
Lightweight binary serializer/deserializer, written especially for Dharitri smart contracts.
Designed to:
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.
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".