🚧 Warning: Experimental Crate! 🚧
This crate is currently in beta and experimental. It is subject to breaking changes in future releases. Use it at your own risk, and keep in mind that the API may change in future versions.
HexGa Io
Io file abstraction based on Hexga Encoding Load and Save to allow loading/saving a value to a file.
It support custom user define extension and convertion, and it's also support common markup extension (json, ron, xml...).
Goal :
- Simple to use
use *;
"Hello file !".save_to_disk.unwrap;
let read = Stringload_from_disk.unwrap;
assert_eq!;
// #[io] derive (serde::Serialize, serde::Deserialize) and (hexga_encoding::Load, hexga_encoding::Save)
let person = Person ;
person.save_to_disk.unwrap;
person.save_to_disk.unwrap;
assert_eq!;
Main Hexga crate
Check hexga : https://crates.io/crates/hexga if you are interested in a quick start, it regroup multiple hexga crates.