Skip to main content

Module compat

Module compat 

Source
Expand description

Drop-in compatibility shims for upstream YAML crates. Each shim is gated behind its own feature flag so unused migration paths add zero compile cost. See compat::serde_yaml for the serde_yaml 0.9 surface. Compatibility shims for downstream crates migrating to noyalib.

Each sub-module here mirrors the public API of an upstream YAML library byte-for-byte, so an existing codebase can switch by changing one line in Cargo.toml and one use statement. The shims are intentionally thin — they delegate every operation to the underlying noyalib engine without re-implementing any parsing, serialisation, or schema logic.

Each shim is gated behind its own feature flag so users who do not need migration help do not pay for the wrapper code or the re-exports.

Modules§

serde_yaml
Drop-in API surface compatible with serde_yaml 0.9.