servo/components/hyper_serde
eri 3a5ca785d3
clippy: fix warnings in various modules in components (#31568)
* clippy: fix warnings in various modules in components

* fix: unit tests

* fix: build on android

* fix: all samplers use new_boxed
2024-03-08 14:28:04 +00:00
..
tests Revert "Replace time with std::time in components/net (#31079)" (#31120) 2024-01-18 15:10:48 +00:00
Cargo.toml Revert "Replace time with std::time in components/net (#31079)" (#31120) 2024-01-18 15:10:48 +00:00
lib.rs clippy: fix warnings in various modules in components (#31568) 2024-03-08 14:28:04 +00:00
LICENSE-APACHE Integrate hyper_serde into Servo source (#30803) 2023-12-14 11:43:10 +00:00
LICENSE-MIT Integrate hyper_serde into Servo source (#30803) 2023-12-14 11:43:10 +00:00
README.md Integrate hyper_serde into Servo source (#30803) 2023-12-14 11:43:10 +00:00

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::Cookie
  • hyper::header::ContentType
  • hyper::header::Headers
  • hyper::http::RawStatus
  • hyper::method::Method
  • hyper::Uri
  • mime::Mime
  • time::Tm

For more details, see the crate documentation.

License

hyper_serde is licensed under the following licenses.

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.