#![cfg_attr(all(not(doc), not(has_unwind), not(target_arch = "wasm32")), no_std)]
#![warn(missing_docs)]
#[cfg(all(not(doc), not(has_unwind), not(target_arch = "wasm32")))]
use core::panic::PanicInfo;
#[cfg(all(not(doc), not(has_unwind), not(target_arch = "wasm32")))]
#[panic_handler]
fn panic_handler(_info: &PanicInfo) -> ! {
loop {}
}
include!(concat!(env!("OUT_DIR"), "/pool_config.rs"));
#[cfg(all(target_arch = "wasm32", feature = "wasm"))]
mod wasm;
#[cfg(all(target_arch = "wasm32", feature = "wasm"))]
pub use wasm::WasmModbusClient;
#[cfg(all(target_arch = "wasm32", feature = "wasm"))]
pub use wasm::{WasmSerialModbusClient, WasmSerialPortHandle, request_serial_port};
#[cfg(all(target_arch = "wasm32", feature = "wasm"))]
pub use wasm::{
WasmSerialServer, WasmSerialServerConfig, WasmServerBindingPlan, WasmServerStatusSnapshot,
WasmServerTransportKind, WasmTcpGatewayConfig, WasmTcpServer,
};
#[allow(missing_docs)]
#[cfg(any(
feature = "c-client",
feature = "c-server",
feature = "dotnet",
feature = "python",
feature = "go",
feature = "nodejs"
))]
pub mod c;
#[cfg(feature = "python")]
#[allow(missing_docs)]
pub mod python;
#[cfg(all(feature = "dotnet", not(target_arch = "wasm32")))]
#[allow(missing_docs)]
pub mod dotnet;
#[cfg(all(feature = "go", not(target_arch = "wasm32")))]
#[allow(missing_docs)]
pub mod go;
#[cfg(all(feature = "nodejs", not(target_arch = "wasm32")))]
#[allow(missing_docs)]
pub mod nodejs;