jep106 0.3.0

A pollable collection of all JEP106 manufacturer codes.
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
extern crate jep106;

#[test]
fn print_unknown_test() {
    let none = jep106::JEP106Code::new(0x08, 0xFF);
    assert_eq!(None, none.get());
    assert_eq!(
        "JEP106Code({ cc: 0x08, id: 0xff } => None)",
        format!("{:?}", none)
    );
    assert_eq!("Unknown Manufacturer Code", format!("{}", none));
}