Skip to content
This repository was archived by the owner on Oct 13, 2023. It is now read-only.
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
204 changes: 144 additions & 60 deletions Cargo.lock

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion host/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ cap-rand = { workspace = true }
cap-net-ext = { workspace = true }
tokio = { version = "1.22.0", features = [ "rt", "macros" ] }
tracing = { workspace = true }
wasmtime = { git = "https://github.com/bytecodealliance/wasmtime", rev = "cc1c14ac913be13329e5cfc91c33e053ab722132", features = ["component-model"] }
wasmtime = { git = "https://github.com/bytecodealliance/wasmtime", rev = "299131ae2d6655c49138bfab2c4469650763ef3b", features = ["component-model"] }
wasi-common = { path = "../wasi-common" }
wasi-cap-std-sync = { path = "../wasi-common/cap-std-sync" }
clap = { version = "4.1.9", features = ["derive"] }
Expand Down
4 changes: 2 additions & 2 deletions host/src/clocks.rs
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
#![allow(unused_variables)]

use crate::command::wasi::{
use crate::poll::PollableEntry;
use crate::wasi::{
monotonic_clock::{self, Instant},
poll::Pollable,
timezone::{self, Timezone, TimezoneDisplay},
wall_clock::{self, Datetime},
};
use crate::poll::PollableEntry;
use crate::WasiCtx;
use cap_std::time::SystemTime;

Expand Down
38 changes: 0 additions & 38 deletions host/src/command.rs

This file was deleted.

6 changes: 2 additions & 4 deletions host/src/default_outgoing_http.rs
Original file line number Diff line number Diff line change
@@ -1,8 +1,6 @@
use crate::{
proxy::wasi,
proxy::wasi::types::{
FutureIncomingResponse as Response, OutgoingRequest as Request, RequestOptions,
},
wasi,
wasi::types::{FutureIncomingResponse as Response, OutgoingRequest as Request, RequestOptions},
WasiCtx,
};

Expand Down
2 changes: 1 addition & 1 deletion host/src/env.rs
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
use crate::command::wasi;
use crate::wasi;
use crate::WasiCtx;

#[async_trait::async_trait]
Expand Down
2 changes: 1 addition & 1 deletion host/src/exit.rs
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
use crate::command::wasi::exit;
use crate::wasi::exit;
use crate::WasiCtx;

#[async_trait::async_trait]
Expand Down
4 changes: 2 additions & 2 deletions host/src/filesystem.rs
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
#![allow(unused_variables)]

use crate::command::wasi;
use crate::command::wasi::streams::{InputStream, OutputStream};
use crate::wasi;
use crate::wasi::streams::{InputStream, OutputStream};
use crate::WasiCtx;
use anyhow::anyhow;
use std::{
Expand Down
6 changes: 3 additions & 3 deletions host/src/http_types.rs
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
use crate::{
proxy::wasi,
proxy::wasi::poll::Pollable,
proxy::wasi::types::{
wasi,
wasi::poll::Pollable,
wasi::types::{
Error, Fields, FutureIncomingResponse, Headers, IncomingRequest, IncomingResponse,
IncomingStream, Method, OutgoingRequest, OutgoingResponse, OutgoingStream,
ResponseOutparam, Scheme, StatusCode, Trailers,
Expand Down
Loading