zerodds_cs/lib.rs
1// SPDX-License-Identifier: Apache-2.0
2// Copyright 2026 ZeroDDS Contributors
3
4//! Crate `zerodds-cs`. Safety classification: **STANDARD**.
5//!
6//! C# P/Invoke + NativeAOT bindings over `zerodds-c-api`. The
7//! actual C# source lives under `csharp/ZeroDDS/src/` (Maven-
8//! style module); the Rust lib core is only a Cargo container.
9//!
10//! Spec: OMG DDS-PSM-Cxx 1.0 (formal/2013-11-01) — adapted to
11//! C# idioms (IDisposable, record struct).
12//!
13//! ## Schichten-Position
14//!
15//! Layer 6 — PSMs / Bindings.
16//!
17//! ## Public API (as of 1.0.0-rc.1)
18//!
19//! No Rust public API. The caller API is `ZeroDDS.Domain.*`,
20//! `ZeroDDS.Pub.*`, `ZeroDDS.Sub.*`, `ZeroDDS.Topic.*`,
21//! `ZeroDDS.Cond.*`, `ZeroDDS.Listener.*`, `ZeroDDS.Qos.*`.
22
23#![deny(unsafe_code)]
24#![warn(missing_docs)]
25
26#[cfg(test)]
27mod tests {
28 #[test]
29 fn crate_compiles() {
30 // Smoke test: the crate compiles and the test harness runs.
31 }
32}