-
Notifications
You must be signed in to change notification settings - Fork 138
Open
Labels
A-serdeArea: Serde integrationArea: Serde integrationC-enhancementCategory: Raise on the bar on expectationsCategory: Raise on the bar on expectations
Description
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
Labels
A-serdeArea: Serde integrationArea: Serde integrationC-enhancementCategory: Raise on the bar on expectationsCategory: Raise on the bar on expectations