mirror of
https://github.com/servo/servo
synced 2026-05-09 16:42:16 +02:00
Changed most #[allow]s to #[expect]s, mainly for clippy::too_many_arguments Removed unfulfilled expectations This is my first opensource contribution, so please let me know if anything should be done differently. Testing: Refactor Part of: #40838 --------- Signed-off-by: Tim van der Lippe <tvanderlippe@gmail.com> Signed-off-by: TimurBora <timurborisov5561@gmail.com> Co-authored-by: Tim van der Lippe <TimvdLippe@users.noreply.github.com>
Serde support for Hyper types
This crate provides wrappers and convenience functions to support Serde for some types defined in cookie, Hyper, mime and time.
The supported types are:
cookie::Cookiehyper::header::ContentTypehyper::header::Headershyper::http::RawStatushyper::method::Methodhyper::Urimime::Mime
For more details, see the crate documentation.
License
hyper_serde is licensed under the following licenses.
- Apache License, Version 2.0, (LICENSE-APACHE or https://www.apache.org/licenses/LICENSE-2.0)
- MIT license (LICENSE-MIT or https://opensource.org/licenses/MIT)
at your option.
Contribution
Unless you explicitly state otherwise, any contribution intentionally submitted for inclusion in hyper_serde by you, as defined in the Apache-2.0 license, shall be dual licensed as above, without any additional terms or conditions.