This library is a Rust implementation of the https://github.com/multiformats/multicodec project.
This crate also can be used to encode and decode an object. Currently only JSON is supported