samscott89 / serde_qs

Serde support for querystring-style strings
Apache License 2.0
193 stars 67 forks source link

Instantiating `QsSerializer` #63

Closed ticklepoke closed 2 years ago

ticklepoke commented 2 years ago

Is there support for instantiating QsSerializer like how serde_json provides a new() constructor method?

I intend to use serde_qs with serde_path_to_error::serialize() and they require an impl Serialize object as an argument.

samscott89 commented 2 years ago

Hey @ticklepoke! sorry for the slow response here.

This is a super reasonable request. Just added to 0.10.1: https://docs.rs/serde_qs/latest/serde_qs/struct.Serializer.html

arlyon commented 2 years ago

Wow thanks for sorting this out! :heart: