Generalized Mobile Ad Hoc Network (MANET) Packet/Message Format
This is a crate implementing the RFC 5444 standard with some goals on mind:
- Small: this should fit on a microcontroller, and that's the aim.
- Performant: we don't use the heap at all, we don't copy anything unless necessary, and absolutely with a high throughput.
- Safe: this shouldn't crash under any circustamces, it should be mission critical, with good error handling.
- Compliant: complete compliance with the standards, 0 deviations.
Contributions are welcome, the rule is to write good and tested code (applies to me too 🙄), without dependencies on external crates, do convince me of reducing dependencies.
use_std
: (default) enables usage of thestd
crate, disable it to beno_std
.
This crate is only tested against the latest nightly builds of Rust, this
will change in the future and the targeted rustc
version will be the one of
the distributed with Debian oldstable.
To run fuzz tests (cargo-fuzz
is your friend here), you'll need nighly Rust.
Licensed under either of
- Apache License, Version 2.0 (LICENSE-APACHE or http://www.apache.org/licenses/LICENSE-2.0)
- MIT License (LICENSE-MIT or https://opensource.org/licenses/MIT)
- Hahaha Debian oldstable rustc go brrrrrrrrrr.