Skip to content

Top-level shorthand for ValueSerializer #565

@Nemo157

Description

@Nemo157

In docs.rs we serialize Vec<String>s to pass through cargo's --config flag, this caused issues on updating from 0.5 to 0.7 as it started erroring. It looks like replacing this with ValueSerializer would take a fair chunk of code, I was wondering if you would consider having something like fn value_to_string<T: Serialize + ?Sized>(value: &T) -> Result<String, Error> as a top-level function (or maybe nested at value::to_string) wrapping this code.

Metadata

Metadata

Assignees

No one assigned

    Labels

    A-serdeArea: Serde integrationC-enhancementCategory: Raise on the bar on expectations

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions