mirror of
https://github.com/servo/servo.git
synced 2025-06-08 16:43:28 +00:00
This changes updates to the new version of the `cookie` crate in Servo which no longer uses the old `time@0.1` data types. This requires using a new version of `time` while we transition off of the old one. This is the first step in that process. In addition, the overloading of the `cookie::Cookie` name was causing a great deal of confusion, so I've renamed the Servo wrapper to `ServoCookie` like we do with `ServoUrl`. Signed-off-by: Martin Robinson <mrobinson@igalia.com> |
||
---|---|---|
.. | ||
tests | ||
Cargo.toml | ||
lib.rs | ||
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.
- Apache License, Version 2.0, (LICENSE-APACHE or https://www.apache.org/licenses/LICENSE-2.0)
- MIT license (LICENSE-MIT or https://opensource.org/licenses/MIT)
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.