Skip to content

update serde-yaml to 0.9 #30

@arcnmx

Description

@arcnmx

The update breaks configurations because of dtolnay/serde-yaml#342 - the suggestion may need to be used with a special with wrapper to work with Vec<Enum> and other container types 😞
(the better approach may be to bake it into the Deserialize impl somehow?)

The issue here is that with the update the config is no longer compatible with json parsed as yaml, as it will then rely on the yaml-exclusive !tag feature. Alternatively, just switch to serde-json instead and give up on user-readable configs? Or support both via file extension and/or other option?

EDIT: singleton_map_recursive is what you actually want, to work around Vec issues

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions