lirays 0.1.1

Rust client for LiRAYS-SCADA over WebSocket + Protobuf
Documentation
//! LiRAYS Rust websocket client.
//!
//! This crate provides:
//! - [`Client`] for async command and subscription operations,
//! - [`ConnectionOptions`] for connection setup,
//! - variable model structs for namespace creation and metadata edits.

/// Generated protobuf types for commands, responses, events, and namespace models.
pub mod namespace {
    include!(concat!(env!("OUT_DIR"), "/namespace.rs"));
}

/// Error types used by the client.
pub mod types;

mod client;
mod connection;
mod models;
mod protocol;
mod schema;

/// Main async LiRAYS client.
pub use client::Client;
/// Explicit connection configuration.
pub use connection::ConnectionOptions;
/// Model types used by create/edit APIs.
pub use models::{BooleanVar, FloatVar, IntegerVar, TextVar, VariableMetadataPatch};