wasmtime-cli: drop direct dep on cap_std by using re-export
This commit is contained in:
@@ -2,7 +2,6 @@
|
||||
|
||||
use crate::{init_file_per_thread_logger, CommonOptions};
|
||||
use anyhow::{bail, Context as _, Result};
|
||||
use cap_std::fs::Dir;
|
||||
use std::thread;
|
||||
use std::time::Duration;
|
||||
use std::{
|
||||
@@ -12,7 +11,10 @@ use std::{
|
||||
};
|
||||
use structopt::{clap::AppSettings, StructOpt};
|
||||
use wasmtime::{Engine, Func, Linker, Module, Store, Trap, Val, ValType};
|
||||
use wasmtime_wasi::{sync::WasiCtxBuilder, Wasi};
|
||||
use wasmtime_wasi::{
|
||||
sync::{Dir, WasiCtxBuilder},
|
||||
Wasi,
|
||||
};
|
||||
|
||||
#[cfg(feature = "wasi-nn")]
|
||||
use wasmtime_wasi_nn::{WasiNn, WasiNnCtx};
|
||||
|
||||
Reference in New Issue
Block a user