mirror of
https://git.asonix.dog/asonix/pict-rs
synced 2024-11-09 22:14:59 +00:00
2021
This commit is contained in:
parent
2b490b7465
commit
2295837ea4
2 changed files with 1 additions and 2 deletions
|
@ -6,7 +6,7 @@ authors = ["asonix <asonix@asonix.dog>"]
|
|||
license = "AGPL-3.0"
|
||||
readme = "README.md"
|
||||
repository = "https://git.asonix.dog/asonix/pict-rs"
|
||||
edition = "2018"
|
||||
edition = "2021"
|
||||
|
||||
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
|
||||
[features]
|
||||
|
|
|
@ -113,7 +113,6 @@ where
|
|||
.headers()
|
||||
.get("X-Request-Deadline")
|
||||
.and_then(|deadline| {
|
||||
use std::convert::TryInto;
|
||||
let deadline = time::OffsetDateTime::from_unix_timestamp_nanos(
|
||||
deadline.to_str().ok()?.parse().ok()?,
|
||||
)
|
||||
|
|
Loading…
Reference in a new issue