# Smart contract standard codec [![crates.io](https://img.shields.io/crates/v/dharithri-sc-codec.svg)](https://crates.io/crates/dharithri-sc-codec) Lightweight binary serializer/deserializer, written especially for dharithri 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](https://docs.dharithri.com/developers/developer-reference/serialization-format/). # no-std Being designed for dharithri 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".