I'm working on a project that wants a generic serializer setup. Currently, erased-serde handles most of the heavy-lifting, but I still need to be able to create a Serializer object that writes to an io::Write to make the generic bridge complete. As far as I can tell, there isn't a way to expose that here; the Serializer implementation I would need for this is locked away inside ser::raw.
If there's a different way I should be going about this, please let me know; I figured it would be worth submitting a feature request because I didn't see a documented reason of why this structure needs to be in a private module.
I'm working on a project that wants a generic serializer setup. Currently,
erased-serdehandles most of the heavy-lifting, but I still need to be able to create aSerializerobject that writes to anio::Writeto make the generic bridge complete. As far as I can tell, there isn't a way to expose that here; theSerializerimplementation I would need for this is locked away insideser::raw.If there's a different way I should be going about this, please let me know; I figured it would be worth submitting a feature request because I didn't see a documented reason of why this structure needs to be in a private module.