MAVSpec: Rust Specification
Core interfaces for MAVSpec's Rust code generation toolchain. Supports
no-std (including no-alloc) targets. Provides optional Serde support.
This crate is a part of MAVSpec code generation toolchain for
MAVLink. While nothing prevents from using this crate directly, such approach
is not encouraged (and not documented). We suggest to import this module from Mavspec as mavspec::rust::gen.
This project is a member of Mavka family.
Cargo Features
allocβ enables global allocator. Incompatible withno-alloctargets.stdβ enables Rust standard library. Enablesalloc. Incompatible withno-stdtargets.serdeβ enables Serde support. It will be included with correspondingstd/allocfeatures (or without them).spectaβ enables specta support. Note, thatspectamay be incompatible withno_stdtargets.
License
Here we simply comply with the suggested dual licensing according to Rust API Guidelines (C-PERMISSIVE).
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 http://opensource.org/licenses/MIT)
at your option.
Contribution
Unless you explicitly state otherwise, any contribution intentionally submitted for inclusion in the work by you, as defined in the Apache-2.0 license, shall be dual licensed as above, without any additional terms or conditions.