servo/components/hyper_serde
Narfinger e3e2dcb5a2
Allow hyper_serde to only depend on serde_core for potentially faster compile times. (#39467)
Serde_core was released which has all the traits and allows some crates
to have parallel compile times.
More information can be found here:
https://github.com/serde-rs/serde/tree/master/serde_core
serde_bytes already depends on on serde_core. Additionally added serde
and serde_core to dependabot group.

Signed-off-by: Narfinger <Narfinger@users.noreply.github.com>

Testing: Compilation is the test.

---------

Signed-off-by: Narfinger <Narfinger@users.noreply.github.com>
2025-09-25 15:54:21 +00:00
..
tests Update rustfmt to the 2024 style edition (#35764) 2025-03-03 11:26:53 +00:00
Cargo.toml Allow hyper_serde to only depend on serde_core for potentially faster compile times. (#39467) 2025-09-25 15:54:21 +00:00
lib.rs Allow hyper_serde to only depend on serde_core for potentially faster compile times. (#39467) 2025-09-25 15:54:21 +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 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.