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 ueber `zerodds-c-api`. Die
7//! eigentliche C#-Source lebt unter `csharp/ZeroDDS/src/` (Maven-
8//! style Modul); der Rust-Lib-Kern ist nur Cargo-Container.
9//!
10//! Spec: OMG DDS-PSM-Cxx 1.0 (formal/2013-11-01) — adaptiert auf
11//! C#-Idiome (IDisposable, record struct).
12//!
13//! ## Schichten-Position
14//!
15//! Layer 6 — PSMs / Bindings.
16//!
17//! ## Public API (Stand 1.0.0-rc.1)
18//!
19//! Keine Rust-Public-API. Caller-API ist `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: Crate kompiliert und Testharness laeuft.
31 }
32}