upgrade to Rust 1.70, use std::sync::OnceLock

The most notable part of this is that `db::auth` no longer holds a lock
during password hashing operations. That was probably never a great
idea...
This commit is contained in:
Scott Lamb
2023-07-04 13:45:33 -07:00
parent ebcdd76084
commit 028243532a
9 changed files with 91 additions and 138 deletions

View File

@@ -11,7 +11,7 @@ jobs:
name: Rust ${{ matrix.rust }}
strategy:
matrix:
rust: [ "stable", "1.65", "nightly" ]
rust: [ "stable", "1.70", "nightly" ]
include:
- rust: nightly
extra_args: "--features nightly --benches"