feat(types,blahd): allow using mock clock for testing

This commit is contained in:
oxalica 2024-09-28 21:22:38 -04:00
parent 1a4980ebba
commit 31dc3e33c6
8 changed files with 61 additions and 13 deletions

8
Cargo.lock generated
View file

@ -276,6 +276,7 @@ dependencies = [
"expect-test",
"hex",
"html-escape",
"mock_instant",
"rand",
"rusqlite",
"serde",
@ -322,6 +323,7 @@ dependencies = [
"html-escape",
"http-body-util",
"humantime",
"mock_instant",
"nix",
"parking_lot",
"paste",
@ -1320,6 +1322,12 @@ dependencies = [
"windows-sys 0.52.0",
]
[[package]]
name = "mock_instant"
version = "0.5.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "cdcebb6db83796481097dedc7747809243cc81d9ed83e6a938b76d4ea0b249cf"
[[package]]
name = "native-tls"
version = "0.2.12"