Ogeon / rustful

[OUTDATED] A light HTTP framework for Rust
https://docs.rs/rustful
Apache License 2.0
862 stars 52 forks source link

Remove the extension traits for BodyReader #76

Closed Ogeon closed 8 years ago

Ogeon commented 8 years ago

Some of the functionality of BodyReader is currently implemented through extension traits, but there is no real reason to do this. I did once have a thought that it could be useful for modularity, but Rutful itself isn't using them in that manner, so it's better to leave it to the users to define their own traits if necessary.

This should be fairly simple, I think, but it may require some fiddling with conditional compiling. Here is a brief check list: