Skip to content

Commit dad05c4

Browse files
authored
Merge branch 'main' into patch-1
2 parents 713bdec + 21e2c36 commit dad05c4

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

56 files changed

+1473
-554
lines changed

.github/workflows/build.yaml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,9 @@ jobs:
6161
version: 0.13.0
6262

6363
- name: Install cargo-zigbuild
64-
run: curl -L https://github.com/rust-cross/cargo-zigbuild/releases/download/v0.19.1/cargo-zigbuild-v0.19.1.x86_64-unknown-linux-musl.tar.gz | tar -z -x -C /usr/local/bin
64+
uses: taiki-e/install-action@v2
65+
with:
66+
tool: cargo-zigbuild
6567

6668
- name: Install frontend Node
6769
uses: actions/[email protected]

.github/workflows/ci.yaml

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -263,7 +263,9 @@ jobs:
263263
rustup default stable
264264
265265
- name: Install nextest
266-
uses: taiki-e/install-action@nextest
266+
uses: taiki-e/install-action@v2
267+
with:
268+
tool: cargo-nextest
267269

268270
- name: Setup sccache
269271
uses: mozilla-actions/[email protected]
@@ -313,7 +315,9 @@ jobs:
313315

314316
- run: mkdir -p ~/.cargo/bin
315317
- name: Install nextest
316-
uses: taiki-e/install-action@nextest
318+
uses: taiki-e/install-action@v2
319+
with:
320+
tool: cargo-nextest
317321

318322
- name: Install Node
319323
uses: actions/[email protected]

.github/workflows/coverage.yaml

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -141,11 +141,10 @@ jobs:
141141
- name: Setup sccache
142142
uses: mozilla-actions/[email protected]
143143

144-
- name: Download grcov
145-
run: |
146-
mkdir -p "${HOME}/.local/bin"
147-
curl -sL https://github.com/mozilla/grcov/releases/download/v0.8.19/grcov-x86_64-unknown-linux-gnu.tar.bz2 | tar jxf - -C "${HOME}/.local/bin"
148-
echo "$HOME/.local/bin" >> $GITHUB_PATH
144+
- name: Install grcov
145+
uses: taiki-e/install-action@v2
146+
with:
147+
tool: grcov
149148

150149
- name: Run test suite with profiling enabled
151150
run: |

.github/workflows/docs.yaml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -30,10 +30,10 @@ jobs:
3030
- name: Setup sccache
3131
uses: mozilla-actions/[email protected]
3232

33-
- name: Setup mdBook
34-
uses: peaceiris/actions-mdbook@v2.0.0
33+
- name: Install mdbook
34+
uses: taiki-e/install-action@v2
3535
with:
36-
mdbook-version: '0.4.37'
36+
tool: mdbook
3737

3838
- name: Install Node
3939
uses: actions/[email protected]

Cargo.lock

Lines changed: 1 addition & 38 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Cargo.toml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -82,6 +82,10 @@ version = "0.7.9"
8282
version = "0.9.6"
8383
features = ["cookie-private", "cookie-key-expansion", "typed-header"]
8484

85+
# Constant-time base64
86+
[workspace.dependencies.base64ct]
87+
version = "1.6.0"
88+
8589
# Bytes
8690
[workspace.dependencies.bytes]
8791
version = "1.9.0"

crates/axum-utils/Cargo.toml

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -15,27 +15,20 @@ workspace = true
1515
async-trait.workspace = true
1616
axum.workspace = true
1717
axum-extra.workspace = true
18-
bytes.workspace = true
1918
chrono.workspace = true
2019
data-encoding = "2.6.0"
21-
futures-util.workspace = true
2220
headers.workspace = true
2321
http.workspace = true
24-
http-body.workspace = true
25-
http-body-util.workspace = true
26-
hyper-util.workspace = true
2722
icu_locid = "1.4.0"
2823
mime = "0.3.17"
2924
rand.workspace = true
3025
reqwest.workspace = true
3126
sentry.workspace = true
3227
serde.workspace = true
3328
serde_with = "3.12.0"
34-
serde_urlencoded = "0.7.1"
3529
serde_json.workspace = true
3630
thiserror.workspace = true
3731
tokio.workspace = true
38-
tower.workspace = true
3932
tracing.workspace = true
4033
url.workspace = true
4134
ulid.workspace = true

crates/cli/Cargo.toml

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -23,9 +23,6 @@ console = "0.15.10"
2323
dialoguer = { version = "0.11.0", features = ["fuzzy-select"] }
2424
dotenvy = "0.15.7"
2525
figment.workspace = true
26-
httpdate = "1.0.3"
27-
http.workspace = true
28-
http-body.workspace = true
2926
http-body-util.workspace = true
3027
hyper.workspace = true
3128
ipnetwork = "0.20.0"
@@ -69,20 +66,17 @@ mas-email.workspace = true
6966
mas-handlers.workspace = true
7067
mas-http.workspace = true
7168
mas-i18n.workspace = true
72-
mas-iana.workspace = true
7369
mas-keystore.workspace = true
7470
mas-listener.workspace = true
7571
mas-matrix.workspace = true
7672
mas-matrix-synapse.workspace = true
7773
mas-policy.workspace = true
7874
mas-router.workspace = true
79-
mas-spa.workspace = true
8075
mas-storage.workspace = true
8176
mas-storage-pg.workspace = true
8277
mas-tasks.workspace = true
8378
mas-templates.workspace = true
8479
mas-tower.workspace = true
85-
oauth2-types.workspace = true
8680

8781
[build-dependencies]
8882
anyhow.workspace = true

crates/cli/src/commands/server.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -209,6 +209,7 @@ impl Options {
209209
site_config.clone(),
210210
password_manager.clone(),
211211
url_builder.clone(),
212+
limiter.clone(),
212213
);
213214

214215
let state = {

crates/cli/src/server.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// Copyright 2024 New Vector Ltd.
1+
// Copyright 2024, 2025 New Vector Ltd.
22
// Copyright 2022-2024 The Matrix.org Foundation C.I.C.
33
//
44
// SPDX-License-Identifier: AGPL-3.0-only

0 commit comments

Comments
 (0)