We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 32b8460 commit ed3d2d1Copy full SHA for ed3d2d1
wasmtime-jni/Cargo.toml
@@ -11,8 +11,8 @@ crate_type = ["cdylib"]
11
jni = "0.19.0"
12
thiserror = "1.0.30"
13
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"
+wasmtime = "1.0.0"
+wasmtime-wasi = "1.0.0"
+wasi-common = "1.0.0"
+wasi-cap-std-sync = "1.0.0"
+cap-std = "0.25.3"
wasmtime-jni/src/wasi_utils.rs
@@ -1,8 +1,8 @@
1
use crate::errors::Result;
2
use cap_std::ambient_authority;
3
-use cap_std::fs::Dir;
4
use std::fs::File;
5
use std::path::Path;
+use wasmtime_wasi::Dir;
6
7
pub fn open_dir<P: AsRef<Path>>(path: P) -> Result<Dir> {
8
Ok(Dir::open_ambient_dir(path, ambient_authority())?)
0 commit comments