mavinspect 0.1.0-alpha2

MAVInspect is a CLI tool and a library to parse and inspect MAVLink protocol XML definitions
Documentation
/// MAVLink protocol definition
///
/// Protobuf entities are useful for non-Rust users and services which communicate MAVLink
/// protocol specification externally.
///
/// Built-in [gRPC](https://grpc.io/) server [`crate::server`] and client [`crate::client`] are
/// using these message definitions.
#[cfg(not(feature = "service"))]
pub mod mavlink_messages_v1 {
    include!(concat!(
        env!("OUT_DIR"),
        "/mavka.protocols.mavlink.message_definitions_v1.spec.v1alpha1.rs"
    ));
}

/// MAVInspect [gRPC](https://grpc.io/) service
///
/// Autogenerated code for MAVInspect gRPC service: messages and optionally client implementation
/// and server stubs.
///
/// Although MAVInspects has their own implementation for the server defined at [`crate::server`],
/// it could be useful to directly use this module if you want implement the server by yourself.
///
/// # Prerequisites
///
/// Client and server autogenerated code is available if the corresponding features (`client` or
/// `server`) are enabled. Otherwise it will remain blank.
#[cfg(not(feature = "service"))]
pub mod service {}

#[cfg(feature = "service")]
mod proto_includes {
    tonic::include_proto!("_includes");
}

/// MAVLink protocol definition
#[cfg(feature = "service")]
pub use proto_includes::mavka::protocols::mavlink::message_definitions_v1::spec::v1alpha1 as mavlink_messages_v1;

/// MAVInspect gRPC service
#[cfg(feature = "service")]
pub use proto_includes::mavka::libs::mavinspect::spec::v1alpha1 as service;