update deps

This commit is contained in:
2024-04-16 22:28:51 +02:00
parent 79103c6712
commit d6f069d4a5
11 changed files with 1104 additions and 901 deletions

View File

@ -33,7 +33,9 @@ async fn main() -> io::Result<()> {
let birth_date: BirthDate = env::var("BIRTH_DATE")
.map(|s| BirthDate(s.parse().expect("failed to parse BIRTH_DATE")))
.unwrap_or_else(|_| BirthDate(NaiveDate::from_ymd(2000, 1, 1)));
.unwrap_or_else(|_| {
BirthDate(NaiveDate::from_ymd_opt(2000, 1, 1).expect("Date is correct"))
});
let mut sled = sled::open(db_path)?;
match sled.insert(