Skip to content

Commit c28fa59

Browse files
committed
Set MSRV to 1.85.0
1 parent 022ee5e commit c28fa59

File tree

8 files changed

+58
-1
lines changed

8 files changed

+58
-1
lines changed

.github/workflows/impl_tests.yml

Lines changed: 42 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,42 @@
1+
name: Implementation Tests
2+
3+
on: [push, pull_request]
4+
5+
concurrency:
6+
group: ${{ github.workflow }}-${{ github.ref }}
7+
cancel-in-progress: true
8+
9+
jobs:
10+
test-postgres-backend:
11+
strategy:
12+
fail-fast: false
13+
matrix:
14+
platform: [ ubuntu-latest ]
15+
toolchain: [ stable, 1.85.0 ] # 1.85.0 is the MSRV
16+
runs-on: ${{ matrix.platform }}
17+
18+
services:
19+
postgres:
20+
image: postgres:latest
21+
ports:
22+
- 5432:5432
23+
env:
24+
POSTGRES_DB: postgres
25+
POSTGRES_USER: postgres
26+
POSTGRES_PASSWORD: postgres
27+
options: >-
28+
--health-cmd pg_isready
29+
--health-interval 10s
30+
--health-timeout 5s
31+
--health-retries 5
32+
33+
steps:
34+
- name: Checkout code
35+
uses: actions/checkout@v3
36+
with:
37+
path: vss-server
38+
39+
- name: Run postgres backend test suite
40+
run: |
41+
cd vss-server/rust/impls
42+
cargo test -- --test-threads=1

.github/workflows/ldk-node-integration.yml

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,12 @@ concurrency:
88

99
jobs:
1010
build-and-test:
11-
runs-on: ubuntu-latest
11+
strategy:
12+
fail-fast: false
13+
matrix:
14+
platform: [ ubuntu-latest ]
15+
toolchain: [ stable, 1.85.0 ] # 1.85.0 is the MSRV
16+
runs-on: ${{ matrix.platform }}
1217

1318
services:
1419
postgres:

rust/Cargo.toml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,9 @@ resolver = "2"
33
members = ["server", "api", "impls", "auth-impls"]
44
default-members = ["server"]
55

6+
[workspace.package]
7+
rust-version = "1.85.0"
8+
69
[profile.release]
710
panic = "abort"
811
opt-level = 3

rust/README.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -37,3 +37,6 @@ the [GitHub repository](https://github.com/lightningdevkit/vss-server/issues). F
3737
development of VSS, you can reach out to us in the [LDK Discord](https://discord.gg/5AcknnMfBw) in the `#vss` channel.
3838

3939
[LDK Discord]: https://discord.gg/5AcknnMfBw
40+
41+
### MSRV
42+
The Minimum Supported Rust Version (MSRV) is currently 1.85.0.

rust/api/Cargo.toml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22
name = "api"
33
version = "0.1.0"
44
edition = "2021"
5+
rust-version.workspace = true
56

67
[dependencies]
78
async-trait = "0.1.77"

rust/auth-impls/Cargo.toml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22
name = "auth-impls"
33
version = "0.1.0"
44
edition = "2021"
5+
rust-version.workspace = true
56

67
[features]
78
jwt = [ "jsonwebtoken", "serde" ]

rust/impls/Cargo.toml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22
name = "impls"
33
version = "0.1.0"
44
edition = "2021"
5+
rust-version.workspace = true
56

67
[dependencies]
78
async-trait = "0.1.77"

rust/server/Cargo.toml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22
name = "vss-server"
33
version = "0.1.0"
44
edition = "2021"
5+
rust-version.workspace = true
56

67
[features]
78
jwt = ["auth-impls/jwt"]

0 commit comments

Comments
 (0)