klv_uas/lib.rs
1#![forbid(unsafe_code)]
2// Use these checks when closer to complete. They're a bit too strict for early development.
3// #![deny(future_incompatible, missing_docs, rust_2018_idioms, unused, warnings)]
4#[doc = include_str!("../README.md")]
5
6pub mod klv_packet;
7pub mod klv_value;
8pub mod klv;
9pub mod tag;
10
11#[derive(Debug)]
12pub enum Errors {
13 NoKLVPacket,
14 ValueOutOfBounds,
15 UnsupportedTag(usize),
16 InvalidChecksum,
17}