ayaml-edit 1.0.0

Verified source-preserving edits for YAML documents built on ayaml.
Documentation
  • Coverage
  • 100%
    40 out of 40 items documented0 out of 29 items with examples
  • Size
  • Source code size: 184.5 kB This is the summed size of all the files inside the crates.io package for this release.
  • Documentation size: 632.6 kB This is the summed size of all files generated by rustdoc for all configured targets
  • Ø build duration
  • this release: 6s Average build duration of successful builds.
  • all releases: 6s Average build duration of successful builds in releases after 2024-10-23.
  • Links
  • asamarts/ayaml
    5 0 0
  • crates.io
  • Dependencies
  • Versions
  • Owners
  • asamarts

ayaml-edit

Verified, source-preserving edits for YAML documents built exclusively on ayaml's public API.

Capabilities

  • Scalar replacement (replace_scalar, replace_scalar_with)
  • Whole-entry removal (remove_entry, remove_entry_with)
  • Verified batch edits (apply_batch, apply_batch_with)
  • Post-edit verification: every returned VerifiedEdit is reparsed with ayaml and verified against both the expected value tree and the event stream before being returned, preserving byte-order marks, CRLF line endings, comments, and neighboring bytes.
  • Conservative refusals: anchors, aliases, tags, block scalars, multiple documents, opt-in merge-key expansion, and ambiguous comment placement are refused rather than risking silent corruption.