servo/components/hyper_serde
Martin Robinson 6f333a8e29
net: Stop using both versions of the time crate in the cookie code (#33260)
`std::time` is good enough for us here. `cookie` is using `time 0.3`,
but Servo can convert to standard library types when getting data from
`cookie`. This reduces our direct dependencies and removes more use of
the very old `time 0.1` series.

Signed-off-by: Martin Robinson <mrobinson@igalia.com>
2024-08-30 17:15:47 +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

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.