rustduck_sys/lib.rs
1//! Low-level bindings to the native `tspy*` C ABI used by TSDuck's Python API.
2//!
3//! This crate reuses TSDuck's stable C-facing Python integration surface from
4//! Rust and does not embed or depend on a Python runtime. [`raw`] is an unsafe
5//! escape hatch for advanced callers. It exposes the official `tspy*` ABI
6//! directly and does not provide the exception, ownership, lifecycle, or
7//! callback guarantees of the `rustduck-core` safe implementation re-exported
8//! by the `rustduck` facade.
9
10/// Raw declarations, including ABI-correct UTF-16 callbacks and deprecated legacy contracts.
11pub mod raw;
12
13/// The sole CXX bridge declaration module.
14pub mod bridge;
15
16pub use raw::{TSDUCK_HEADER_VERSION_MAJOR, TSDUCK_HEADER_VERSION_MINOR};