Skip to content

Commit ed3d2d1

Browse files
authored
Upgrade wasmtime dependencies to 1.0.0 (#38)
1 parent 32b8460 commit ed3d2d1

File tree

2 files changed

+6
-6
lines changed

2 files changed

+6
-6
lines changed

wasmtime-jni/Cargo.toml

+5-5
Original file line numberDiff line numberDiff line change
@@ -11,8 +11,8 @@ crate_type = ["cdylib"]
1111
jni = "0.19.0"
1212
thiserror = "1.0.30"
1313
anyhow = "1.0.56"
14-
wasmtime = "0.40.0"
15-
wasmtime-wasi = "0.40.0"
16-
wasi-common = "0.40.0"
17-
wasi-cap-std-sync = "0.40.0"
18-
cap-std = "0.25.2"
14+
wasmtime = "1.0.0"
15+
wasmtime-wasi = "1.0.0"
16+
wasi-common = "1.0.0"
17+
wasi-cap-std-sync = "1.0.0"
18+
cap-std = "0.25.3"

wasmtime-jni/src/wasi_utils.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
use crate::errors::Result;
22
use cap_std::ambient_authority;
3-
use cap_std::fs::Dir;
43
use std::fs::File;
54
use std::path::Path;
5+
use wasmtime_wasi::Dir;
66

77
pub fn open_dir<P: AsRef<Path>>(path: P) -> Result<Dir> {
88
Ok(Dir::open_ambient_dir(path, ambient_authority())?)

0 commit comments

Comments
 (0)