linuxcnc-grpc 1.0.0-beta.2

Rust gRPC client for LinuxCNC machine control and HAL
Documentation
//! # LinuxCNC gRPC Client
//!
//! This crate provides Rust types and gRPC client stubs for communicating
//! with a LinuxCNC gRPC server.
//!
//! ## Example
//!
//! ```rust,no_run
//! use linuxcnc_grpc::linuxcnc::linux_cnc_service_client::LinuxCncServiceClient;
//! use linuxcnc_grpc::linuxcnc::GetStatusRequest;
//!
//! #[tokio::main]
//! async fn main() -> Result<(), Box<dyn std::error::Error>> {
//!     let mut client = LinuxCncServiceClient::connect("http://localhost:50051").await?;
//!
//!     let request = tonic::Request::new(GetStatusRequest {});
//!     let response = client.get_status(request).await?;
//!
//!     println!("Status: {:?}", response);
//!     Ok(())
//! }
//! ```

/// LinuxCNC machine control types and service definitions
pub mod linuxcnc {
    tonic::include_proto!("linuxcnc");
}

/// HAL (Hardware Abstraction Layer) types and service definitions
pub mod hal {
    tonic::include_proto!("hal");
}

// Re-export commonly used types at crate root
pub use linuxcnc::*;