These packages are available as a package collection, usable in Xcode or SwiftPM.
YAML 1.2 for Swift 6: parser, emitter and Codable in pure Swift. No C, no Foundation, Sendable everywhere, memory-safe, 2–3× faster than Yams at reading.
1 package.