You've already forked authentication-service
mirror of
https://github.com/matrix-org/matrix-authentication-service.git
synced 2025-08-07 17:03:01 +03:00
Bump rustc to 1.65
This commit is contained in:
4
.github/workflows/ci.yaml
vendored
4
.github/workflows/ci.yaml
vendored
@@ -88,8 +88,8 @@ jobs:
|
|||||||
|
|
||||||
- name: Install toolchain
|
- name: Install toolchain
|
||||||
run: |
|
run: |
|
||||||
rustup toolchain install 1.64.0
|
rustup toolchain install 1.65.0
|
||||||
rustup default 1.64.0
|
rustup default 1.65.0
|
||||||
rustup component add clippy
|
rustup component add clippy
|
||||||
|
|
||||||
- name: Install Protoc
|
- name: Install Protoc
|
||||||
|
@@ -12,7 +12,7 @@
|
|||||||
# The Debian version and version name must be in sync
|
# The Debian version and version name must be in sync
|
||||||
ARG DEBIAN_VERSION=11
|
ARG DEBIAN_VERSION=11
|
||||||
ARG DEBIAN_VERSION_NAME=bullseye
|
ARG DEBIAN_VERSION_NAME=bullseye
|
||||||
ARG RUSTC_VERSION=1.64.0
|
ARG RUSTC_VERSION=1.65.0
|
||||||
ARG ZIG_VERSION=0.9.1
|
ARG ZIG_VERSION=0.9.1
|
||||||
ARG NODEJS_VERSION=18
|
ARG NODEJS_VERSION=18
|
||||||
ARG OPA_VERSION=0.45.0
|
ARG OPA_VERSION=0.45.0
|
||||||
|
@@ -101,7 +101,7 @@ pub async fn get(
|
|||||||
let (_clock, mut rng) = crate::rng_and_clock()?;
|
let (_clock, mut rng) = crate::rng_and_clock()?;
|
||||||
let mut conn = pool.acquire().await?;
|
let mut conn = pool.acquire().await?;
|
||||||
|
|
||||||
let session = user_authorization.protected(&mut *conn).await?;
|
let session = user_authorization.protected(&mut conn).await?;
|
||||||
|
|
||||||
let user = session.browser_session.user;
|
let user = session.browser_session.user;
|
||||||
let mut user_info = UserInfo {
|
let mut user_info = UserInfo {
|
||||||
|
@@ -56,7 +56,7 @@ impl File {
|
|||||||
|
|
||||||
#[tracing::instrument(skip_all, fields(url))]
|
#[tracing::instrument(skip_all, fields(url))]
|
||||||
async fn load<T: EnumEntry>(mut self) -> anyhow::Result<Self> {
|
async fn load<T: EnumEntry>(mut self) -> anyhow::Result<Self> {
|
||||||
tracing::Span::current().record("url", &T::URL);
|
tracing::Span::current().record("url", T::URL);
|
||||||
self.sections.extend(T::sections());
|
self.sections.extend(T::sections());
|
||||||
for (key, value) in T::fetch(&self.client).await? {
|
for (key, value) in T::fetch(&self.client).await? {
|
||||||
self.items.entry(key).or_default().push(value);
|
self.items.entry(key).or_default().push(value);
|
||||||
|
Reference in New Issue
Block a user