kinnison / marked-data

A YAML representation library which explicitly retains provenance data
MIT License
12 stars 5 forks source link

marked-yaml: Rationalise handling paths in both -path and otherwise #6

Closed danielsilverstone-ct closed 5 months ago

danielsilverstone-ct commented 5 months ago

This fixes up our external API to not leak serde_path_to_error in case new incompatible versions come along confusing our users. Also it hides segments of the path generated by Spanned<T> so that the path isn't unpleasant for humans.