drt-sc-codec

Crates.iodrt-sc-codec
lib.rsdrt-sc-codec
version0.0.3
sourcesrc
created_at2024-08-27 11:14:18.512303
updated_at2024-09-02 02:03:48.673453
descriptionLightweight binary serializer/deserializer, written especially for Dharitri smart contracts
homepagehttps://dharitri.com/
repositoryhttps://github.com/DharitriOne/drt-sdk-rs
max_upload_size
id1353175
size159,837
xfactor@rust (xfactor-toml)

documentation

https://docs.dharitri.com/

README

Smart contract standard codec

crates.io

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".

Commit count: 0

cargo fmt