libxml_rs/abi/mod.rs
1//! C ABI compatibility layer (§4, §14).
2//!
3//! This module implements the external C-compatible world:
4//! - Types, structs, constants matching upstream layout
5//! - C ABI exports (libxml2.so.2, libxslt.so.1)
6//! - Callbacks, allocator hooks, ownership membrane
7//! - Versioning macros and runtime reporting
8//!
9//! # Architecture
10//!
11//! ```text
12//! external C-compatible world
13//! ↕
14//! ABI / ownership membrane ← this module
15//! ↕
16//! safe internal Rust semantics (src/xml, src/xslt, ...)
17//! ```
18//!
19//! ## Phase 0 status
20//!
21//! This module is scaffolded. The ABI membrane will be constructed in Phase 1
22//! (Compatibility Skeleton, §85 Phase 1) after the archaeological atlas is
23//! complete. See `atlas/PARITY_MATRIX.md` for current API completeness metrics.
24
25pub mod allocator;
26pub mod callbacks;
27pub mod constants;
28pub mod exports_xml2;
29pub mod exports_xslt;
30pub mod ownership;
31pub mod structs;
32pub mod types;
33pub mod versioning;