Skip to content

Commit 724f47a

Browse files
committed
Bump MSRV and minimal wasmtime version
1 parent de20426 commit 724f47a

File tree

2 files changed

+6
-5
lines changed

2 files changed

+6
-5
lines changed

.github/workflows/check.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -122,8 +122,8 @@ jobs:
122122

123123
- name: Install toolchain
124124
run: |
125-
rustup toolchain install 1.70.0 # MSRV
126-
rustup default 1.70.0 # MSRV
125+
rustup toolchain install 1.72.0 # MSRV
126+
rustup default 1.72.0 # MSRV
127127
128128
- name: Setup Rust cache
129129
uses: Swatinem/rust-cache@v2

Cargo.toml

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
[package]
22
name = "opa-wasm"
33
version = "0.1.0"
4-
rust-version = "1.70"
4+
rust-version = "1.72"
55
authors = ["Quentin Gliech <quenting@element.io>"]
66
edition = "2021"
77
license = "Apache-2.0"
@@ -14,7 +14,7 @@ serde_json = "1.0.18" # This is the earliest version which supports 128-bit inte
1414
thiserror = "1"
1515
tokio = { version = "1.5", features = ["sync", "macros"] }
1616
tracing = "0.1.27"
17-
wasmtime = { version = ">=8, <18", default-features = false, features = ["async"] }
17+
wasmtime = { version = ">=16, <18", default-features = false, features = ["async"] }
1818

1919
# Loader
2020
tokio-tar = { version = "0.3", optional = true }
@@ -53,12 +53,13 @@ version = "1.5"
5353
features = ["macros", "fs", "rt", "rt-multi-thread"]
5454

5555
[dev-dependencies]
56-
wasmtime = { version = ">=8, <18", default-features = false, features = ["cranelift"] }
56+
wasmtime = { version = ">=16, <18", default-features = false, features = ["cranelift"] }
5757
insta = { version = "1", features = ["yaml"] }
5858

5959
[build-dependencies]
6060
# psm's (used by wasmtime) build-script uses a feature introduced in cc 1.0.2
6161
cc = "1.0.2"
62+
indexmap = ">=1.9.1"
6263

6364
[features]
6465
default = ["all-builtins"]

0 commit comments

Comments
 (0)