klv-uas 0.1.2

A simple library for parsing UAS KLV data from raw data.
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
#![forbid(unsafe_code)]
// Use these checks when closer to complete. They're a bit too strict for early
// development. #![deny(future_incompatible, missing_docs, rust_2018_idioms,
// unused, warnings)]
#[doc = include_str!("../README.md")]
pub mod klv;
pub mod klv_packet;
pub mod klv_value;
pub mod tag;

#[derive(Debug, thiserror::Error)]
pub enum ErrorKind {
    #[error("Tag `{0}` is currently unsupported")]
    UnsupportedTag(usize),
    #[error("Checksum for KLV packet is invalid")]
    InvalidChecksum,
}