You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Mar 25, 2024. It is now read-only.
The basic issue is that serde-yaml turns on yaml-rust's preserve_order feature, which changes the API of yaml-rust in a breaking fashion, and makes it impossible to use certain third-party crates.
The text was updated successfully, but these errors were encountered:
emk
added a commit
to emk/compose_yml
that referenced
this issue
Nov 13, 2016
emk
changed the title
Version 0.5.0 cannot be used with clap
Version 0.5.0 cannot be used with clap because it enables a non-"additive" feature of yaml-rust and breaks the API
Nov 13, 2016
The underlying issue with yaml-rust is discussed in more detail here: chyh1990/yaml-rust#44
In light of the fact that enabling this option breaks API compatibility for other users of yaml-rust, it might be best to just leave it disabled until a solution is found at the yaml-rust level.
The best outcome (for me at least) is to provide the option to not use preserve_order with yaml-rust since changing clap's API to match the preserve_order would be a breaking change. I'll be standing by for suggestions and comments though.
The details are available here: clap-rs/clap#747
The basic issue is that
serde-yaml
turns onyaml-rust
'spreserve_order
feature, which changes the API ofyaml-rust
in a breaking fashion, and makes it impossible to use certain third-party crates.The text was updated successfully, but these errors were encountered: