Skip to content

Commit

Permalink
Bump MSRV and minimal wasmtime version
Browse files Browse the repository at this point in the history
  • Loading branch information
sandhose committed Feb 2, 2024
1 parent de20426 commit 724f47a
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 5 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/check.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -122,8 +122,8 @@ jobs:

- name: Install toolchain
run: |
rustup toolchain install 1.70.0 # MSRV
rustup default 1.70.0 # MSRV
rustup toolchain install 1.72.0 # MSRV
rustup default 1.72.0 # MSRV
- name: Setup Rust cache
uses: Swatinem/rust-cache@v2
Expand Down
7 changes: 4 additions & 3 deletions Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
[package]
name = "opa-wasm"
version = "0.1.0"
rust-version = "1.70"
rust-version = "1.72"
authors = ["Quentin Gliech <[email protected]>"]
edition = "2021"
license = "Apache-2.0"
Expand All @@ -14,7 +14,7 @@ serde_json = "1.0.18" # This is the earliest version which supports 128-bit inte
thiserror = "1"
tokio = { version = "1.5", features = ["sync", "macros"] }
tracing = "0.1.27"
wasmtime = { version = ">=8, <18", default-features = false, features = ["async"] }
wasmtime = { version = ">=16, <18", default-features = false, features = ["async"] }

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

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

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

[features]
default = ["all-builtins"]
Expand Down

0 comments on commit 724f47a

Please sign in to comment.