1 2 3 4 5 6 7 8 9 10 11 12 13 14 15
/*! A pure rust library for generating Hal responses. */ extern crate rustc_serialize as serialize; pub mod state; pub mod link; pub mod resource; use resource::Resource; pub trait ToHal { fn to_hal(self) -> Resource; }