rustic_hal-0.1.2 has been yanked.
Rustic Hal
A simple library for serializing (and deserializing coming soon) resources following the HAL Spec
Usage
On nightly rust
Add the dependency to your Cargo.toml:
[]
="0.1.0"
="1.0"
="1.0"
="1.0"
and to use:
extern crate rustic_hal;
extern crate serde;
extern crate serde_derive;
extern crate serde_json;
use *;
use Serialize;
use to_json;
let mr = MyResource ;
let mut hal_res = new;
hal_res.add_link;
println!;
Documentation
see https://pduval.github.io/rustic_hal/rustic_hal/ for the cargo-doc pages.
Credits
This library is heavily inspired by (read copied from) the hal-rs library by Herman J. Radtke III.
Warnings
I have only very recently started learning Rust, so the idiomatic quality of this code is probably very low.