Update rust (#270)
soaricarus_api CI / Rustfmt (push) Successful in 2m52s
soaricarus_api CI / Check (push) Successful in 6m25s
soaricarus_api CI / Clippy (push) Successful in 7m23s
soaricarus_api CI / build (push) Successful in 8m56s
soaricarus_api CI / Test Suite (push) Successful in 9m1s
pr CI / Test Suite (pull_request) Successful in 2m10s

Reviewed-on: #270
This commit was merged in pull request #270.
This commit is contained in:
phoenix committed 2026-11-19 17:43:14 -05:00
1 parent 23529e323a
commit bad9efb026
6 files changed
+305 -482

No files matched your search

+3 -3
View File
@@ -12,7 +12,7 @@ concurrency:
jobs:
test:
name: Test Suite
runs-on: ubuntu-24.04
runs-on: ubuntu-26.04
timeout-minutes: 20
services:
postgres:
@@ -31,7 +31,7 @@ jobs:
- uses: actions/checkout@v6
- uses: actions-rust-lang/setup-rust-toolchain@v1
with:
toolchain: 1.99
toolchain: 1.99.1
- uses: Swatinem/rust-cache@v2
- name: Verify Docker Environment
run: |
@@ -49,7 +49,7 @@ jobs:
env:
AWS_ACCESS_KEY_ID: "${{ secrets.GARAGE_KEY_ID }}"
AWS_SECRET_ACCESS_KEY: "${{ secrets.GARAGE_SECRET }}"
AWS_DEFAULT_REGION: us-east-1
AWS_DEFAULT_REGION: "${{ secrets.GARAGE_REGION }}"
ENDPOINT_URL: "${{ secrets.S3_CI_ENDPOINT_URL}}"
run: |
sudo apt update
+2 -2
View File
@@ -6,7 +6,7 @@ on:
jobs:
release:
runs-on: ubuntu-24.04
runs-on: ubuntu-26.04
steps:
- name: Checkout code
uses: actions/checkout@v6
@@ -16,7 +16,7 @@ jobs:
- name: Install Rust
uses: actions-rs/toolchain@v1
with:
toolchain: 1.99
toolchain: 1.99.1
components: cargo
- name: Extract Version from Cargo.toml
+10 -10
View File
@@ -12,12 +12,12 @@ concurrency:
jobs:
check:
name: Check
runs-on: ubuntu-24.04
runs-on: ubuntu-26.04
steps:
- uses: actions/checkout@v6
- uses: actions-rust-lang/setup-rust-toolchain@v1
with:
toolchain: 1.99
toolchain: 1.99.1
- uses: Swatinem/rust-cache@v2
- run: |
mkdir -p ~/.ssh
@@ -32,7 +32,7 @@ jobs:
test:
name: Test Suite
runs-on: ubuntu-24.04
runs-on: ubuntu-26.04
timeout-minutes: 20
services:
postgres:
@@ -51,7 +51,7 @@ jobs:
- uses: actions/checkout@v6
- uses: actions-rust-lang/setup-rust-toolchain@v1
with:
toolchain: 1.99
toolchain: 1.99.1
- uses: Swatinem/rust-cache@v2
- name: Verify Docker Environment
run: |
@@ -137,12 +137,12 @@ jobs:
fmt:
name: Rustfmt
runs-on: ubuntu-24.04
runs-on: ubuntu-26.04
steps:
- uses: actions/checkout@v6
- uses: actions-rust-lang/setup-rust-toolchain@v1
with:
toolchain: 1.99
toolchain: 1.99.1
- uses: Swatinem/rust-cache@v2
- run: rustup component add rustfmt
- run: |
@@ -157,12 +157,12 @@ jobs:
clippy:
name: Clippy
runs-on: ubuntu-24.04
runs-on: ubuntu-26.04
steps:
- uses: actions/checkout@v6
- uses: actions-rust-lang/setup-rust-toolchain@v1
with:
toolchain: 1.99
toolchain: 1.99.1
- uses: Swatinem/rust-cache@v2
- run: rustup component add clippy
- run: |
@@ -177,12 +177,12 @@ jobs:
build:
name: build
runs-on: ubuntu-24.04
runs-on: ubuntu-26.04
steps:
- uses: actions/checkout@v6
- uses: actions-rust-lang/setup-rust-toolchain@v1
with:
toolchain: 1.99
toolchain: 1.99.1
- uses: Swatinem/rust-cache@v2
- run: |
mkdir -p ~/.ssh
Generated
+280 -457
View File
File diff suppressed because it is too large. Load diff
+9 -9
View File
@@ -1,8 +1,8 @@
[package]
name = "soaricarus_api"
version = "0.5.12"
version = "0.5.13"
edition = "2024"
rust-version = "1.95"
rust-version = "1.99.1"
license = "MIT"
description = "Core API for interacting with soaricarus"
@@ -19,17 +19,17 @@ tower-http = { version = "0.7.1", features = ["cors", "timeout"] }
tracing-subscriber = "0.3.23"
futures = { version = "0.3.34" }
mime_guess = { version = "2.0.5" }
uuid = { version = "1.29.0", features = ["v4", "serde"] }
sqlx = { version = "0.9.0", features = ["postgres", "runtime-tokio", "tls-native-tls", "time", "uuid"] }
uuid = { version = "1.29.3", features = ["v4", "serde"] }
sqlx = { version = "0.9.1", features = ["postgres", "runtime-tokio", "tls-native-tls", "time", "uuid"] }
time = { version = "0.3.55", features = ["formatting", "macros", "parsing", "serde"] }
jsonwebtoken = { version = "11.0.0", features = ["rust_crypto"] }
jsonwebtoken = { version = "12.0.0", features = ["rust_crypto"] }
josekit = { version = "0.10.3" }
utoipa = { version = "6.0.0", features = ["axum_extras"] }
utoipa-swagger-ui = { version = "10.0.2", features = ["axum"] }
simeta = { git = "ssh://git@git.kundeng.us/phoenix/simeta.git", tag = "v0.6.4" }
simodels = { git = "ssh://git@git.kundeng.us/phoenix/simodels.git", tag = "v0.11.9" }
sienvy = { git = "ssh://git@git.kundeng.us/phoenix/sienvy.git", tag = "v0.8.3" }
labyrinth = { git = "ssh://git@git.kundeng.us/phoenix/labyrinth.git", tag = "v0.0.8" }
simeta = { git = "ssh://git@git.kundeng.us/phoenix/simeta.git", tag = "v0.6.5" }
simodels = { git = "ssh://git@git.kundeng.us/phoenix/simodels.git", tag = "v0.11.20" }
sienvy = { git = "ssh://git@git.kundeng.us/phoenix/sienvy.git", tag = "v0.8.4" }
labyrinth = { git = "ssh://git@git.kundeng.us/phoenix/labyrinth.git", tag = "v0.0.10" }
[dev-dependencies]
+1 -1
View File
@@ -42,7 +42,7 @@ pub async fn auth<B>(
validation.set_audience(&["soaricarus"]);
let _claims = decode::<simodels::token::UserClaims>(
&token,
&DecodingKey::from_secret(secret_key.as_ref()),
&DecodingKey::from_secret(secret_key.as_ref()).unwrap(),
&validation,
)
.map_err(|err| {