cu29-value 1.3.0

This is a fork of Value with custom types added for Copper like the time and units.
Documentation
1
2
3
4
5
6
7
8
9
10
use bincode::Encode;
struct NativeOnly;
impl Encode for NativeOnly {
    fn encode<E: bincode::enc::Encoder>(&self, _: &mut E) -> Result<(), bincode::error::EncodeError> { Ok(()) }
}
#[derive(Encode)] //~ ERROR: /NativeOnly: ValueDecode/
struct Nested { unsupported: NativeOnly }
#[derive(Encode)]
struct Payload { nested: Nested }
fn main() {}