Skip to content

Commit

Permalink
Merge pull request #165 from matrix-org/dependabot/cargo/wasmtime-gte…
Browse files Browse the repository at this point in the history
…-8-and-lt-18

build(deps): update wasmtime requirement from >=8, <16 to >=8, <18
  • Loading branch information
sandhose authored Feb 2, 2024
2 parents ba83f2d + 724f47a commit 3f57730
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 8 deletions.
10 changes: 5 additions & 5 deletions .github/workflows/check.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -44,8 +44,8 @@ jobs:

- name: Install toolchain
run: |
rustup toolchain install 1.72.0
rustup default 1.72.0
rustup toolchain install 1.75.0
rustup default 1.75.0
rustup component add clippy
- name: Setup Rust cache
Expand Down 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 All @@ -144,7 +144,7 @@ jobs:
- name: Test
run:
cargo test --all-features
cargo test --all-features --locked


coverage:
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, <16", 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, <16", 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 3f57730

Please sign in to comment.