tomaka / rouille

Web framework in Rust
Apache License 2.0
1.12k stars 106 forks source link

Use serde instead of rustc_serialize? #149

Closed icefoxen closed 6 years ago

icefoxen commented 6 years ago

Or maybe have it available a feature flag.

In theory, it doesn't REALLY matter, but in practice, I use reqwest for unit tests, which serializes things to JSON using serde. So far the serde and rustc_serialize representations have always matched, but there's no guarantee that will always be the case.

I will try to work on a PR for this if you want.

cardoe commented 6 years ago

I think I have this implemented in https://github.com/cardoe/rouille/tree/serde but can't get the docs to be happy with it.