Bump Rust 1.94.0.

Signed-off-by: Jason Volk <jason@zemos.net>
This commit is contained in:
Jason Volk
2026-03-08 05:40:17 +00:00
parent 55ee0d8ab6
commit d2836e9f50
28 changed files with 39 additions and 20 deletions

View File

@@ -1,5 +1,5 @@
#![expect(clippy::toplevel_ref_arg)]
#![expect(clippy::duration_suboptimal_units)] // remove after MSRV 1.91
#![allow(unused_features)] // 1.96.0-nightly 2026-03-07 bug
pub mod client;
pub mod router;

View File

@@ -61,7 +61,7 @@ pub(crate) async fn get_server_keys_route(
}
fn valid_until_ts() -> MilliSecondsSinceUnixEpoch {
let dur = Duration::from_secs(86400 * 7);
let dur = Duration::from_hours(168);
let timepoint = timepoint_from_now(dur).expect("SystemTime should not overflow");
MilliSecondsSinceUnixEpoch::from_system_time(timepoint).expect("UInt should not overflow")
}