servo/components/hyper_serde
Martin Robinson bc8d8b62c3
Stop using time@0.1 in Servo (#33394)
This removes the last few uses of `time@0.1` in Servo. There are still
dependencies from `style` and `webrender`, but they will be removed soon
as well. The uses of this version of `time` are replaced with
`std::time` types and `time@0.3` when negative `Duration` is necessary.

Signed-off-by: Martin Robinson <mrobinson@igalia.com>
2024-09-11 07:09:56 +00:00
..
tests net: Stop using both versions of the time crate in the cookie code (#33260) 2024-08-30 17:15:47 +00:00
Cargo.toml net: Stop using both versions of the time crate in the cookie code (#33260) 2024-08-30 17:15:47 +00:00
lib.rs net: Stop using both versions of the time crate in the cookie code (#33260) 2024-08-30 17:15:47 +00:00
LICENSE-APACHE
LICENSE-MIT
README.md Stop using time@0.1 in Servo (#33394) 2024-09-11 07:09:56 +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

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.