//! Serialise a [`Manifest`] back to YAML with stable field order for
//! diff-friendly output.
use Manifest;
/// Render a manifest to YAML.
///
/// Key order is fixed by the field order in [`Manifest`] (name → version →
/// agents → dependencies). Empty/`None` collections are skipped via
/// `skip_serializing_if`. Output ends with a single trailing newline.