ℹ️ The Open Network deserialization crate for Rust language.
❤️ Any contributions are welcome. Feel free to open pull requests, issues, bug reports, feature proposals or anything else
First you need to add tonstruct to your project
tonstruct = { version = "*" }Then add FromCell or ToCell derive macro to structures you want to serialize/deserialize
More info about how to use this crate in your project you can find in the following documents:
- docs.rs
- examples directory:
- serialization example
- deserialization example
- custom structure implementation example