motorcortex-rust 0.5.0

Motorcortex Rust: a Rust client for the Motorcortex Core real-time control system (async + blocking).
Documentation
//! Integration tests — drive the vendored test_server over real sockets.
//!
//! Run with:  cargo test --test integration
//!
//! The `common::setup` module registers `ctor::ctor` / `ctor::dtor` hooks
//! that spawn and reap `tests/server/build/test_server` once per binary,
//! so all tests in this crate share a single server instance.
//!
//! `#[path]` is used on each submodule because Rust can't resolve
//! `mod integration;` from `tests/integration.rs` — the file and the
//! `tests/integration/` directory resolve to the same module path.

mod common;

pub const URL_REQ: &str = "wss://localhost:5568";
pub const URL_SUB: &str = "wss://localhost:5567";
pub const CERT_PATH: &str = concat!(env!("CARGO_MANIFEST_DIR"), "/tests/mcx.cert.crt");

#[path = "integration/async_connect.rs"]
mod async_connect;

#[path = "integration/async_groups.rs"]
mod async_groups;

#[path = "integration/async_parameters.rs"]
mod async_parameters;

#[path = "integration/async_session.rs"]
mod async_session;

#[path = "integration/async_stress.rs"]
mod async_stress;

#[path = "integration/async_session_token.rs"]
mod async_session_token;

#[path = "integration/async_reconnect.rs"]
mod async_reconnect;

#[path = "integration/async_subscribe.rs"]
mod async_subscribe;

#[path = "integration/async_tree.rs"]
mod async_tree;

#[path = "integration/blocking.rs"]
mod blocking;