servo/components/hyper_serde
Taym Haddadi 580062228b
Replace time with std::time in components/net (#31079)
* Replace time with std::time in components/net

Signed-off-by: Bentaimia Haddadi <haddadi.taym@gmail.com>

* Fix cookie::test_sort_order test

Signed-off-by: Bentaimia Haddadi <haddadi.taym@gmail.com>

---------

Signed-off-by: Bentaimia Haddadi <haddadi.taym@gmail.com>
2024-01-17 14:18:20 +00:00
..
tests Replace time with std::time in components/net (#31079) 2024-01-17 14:18:20 +00:00
Cargo.toml Replace time with std::time in components/net (#31079) 2024-01-17 14:18:20 +00:00
lib.rs Replace time with std::time in components/net (#31079) 2024-01-17 14:18:20 +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.