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>
This commit is contained in:
Martin Robinson 2024-08-30 19:15:47 +02:00 committed by GitHub
parent 1e9344cb5c
commit 6f333a8e29
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
9 changed files with 29 additions and 95 deletions

4
Cargo.lock generated
View file

@ -1277,7 +1277,6 @@ source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "b42b6fa04a440b495c8b04d0e71b707c585f83cb9cb28cf8cd0d976c315e31b4"
dependencies = [
"powerfmt",
"serde",
]
[[package]]
@ -2967,8 +2966,6 @@ dependencies = [
"serde",
"serde_bytes",
"serde_test",
"time 0.1.45",
"time 0.3.36",
]
[[package]]
@ -4518,7 +4515,6 @@ dependencies = [
"servo_url",
"sha2",
"time 0.1.45",
"time 0.3.36",
"tokio",
"tokio-rustls",
"tokio-stream",