Skip to content

Commit

Permalink
Merge pull request #132 from yoshuawuyts/v0.2.2
Browse files Browse the repository at this point in the history
Update to v0.2.2
  • Loading branch information
yoshuawuyts authored Oct 3, 2024
2 parents f45069d + d9b692e commit 6a86347
Show file tree
Hide file tree
Showing 53 changed files with 283 additions and 265 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,6 @@ jobs:
./wit-deps lock --check
- uses: WebAssembly/wit-abi-up-to-date@v22
with:
wasm-tools: '1.215.0'
wit-bindgen: '0.30.0'
wasm-tools: '1.218.0'
wit-bindgen: '0.33.0'
worlds: 'imports proxy'
46 changes: 24 additions & 22 deletions imports.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,21 +4,21 @@ It is intended to be <code>include</code>d in other worlds.</p>
<ul>
<li>Imports:
<ul>
<li>interface <a href="#wasi_io_poll_0_2_1"><code>wasi:io/poll@0.2.1</code></a></li>
<li>interface <a href="#wasi_clocks_monotonic_clock_0_2_1"><code>wasi:clocks/monotonic-clock@0.2.1</code></a></li>
<li>interface <a href="#wasi_clocks_wall_clock_0_2_1"><code>wasi:clocks/wall-clock@0.2.1</code></a></li>
<li>interface <a href="#wasi_random_random_0_2_1"><code>wasi:random/random@0.2.1</code></a></li>
<li>interface <a href="#wasi_io_error_0_2_1"><code>wasi:io/error@0.2.1</code></a></li>
<li>interface <a href="#wasi_io_streams_0_2_1"><code>wasi:io/streams@0.2.1</code></a></li>
<li>interface <a href="#wasi_cli_stdout_0_2_1"><code>wasi:cli/stdout@0.2.1</code></a></li>
<li>interface <a href="#wasi_cli_stderr_0_2_1"><code>wasi:cli/stderr@0.2.1</code></a></li>
<li>interface <a href="#wasi_cli_stdin_0_2_1"><code>wasi:cli/stdin@0.2.1</code></a></li>
<li>interface <a href="#wasi_http_types_0_2_1"><code>wasi:http/types@0.2.1</code></a></li>
<li>interface <a href="#wasi_http_outgoing_handler_0_2_1"><code>wasi:http/outgoing-handler@0.2.1</code></a></li>
<li>interface <a href="#wasi_io_poll_0_2_2"><code>wasi:io/poll@0.2.2</code></a></li>
<li>interface <a href="#wasi_clocks_monotonic_clock_0_2_2"><code>wasi:clocks/monotonic-clock@0.2.2</code></a></li>
<li>interface <a href="#wasi_clocks_wall_clock_0_2_2"><code>wasi:clocks/wall-clock@0.2.2</code></a></li>
<li>interface <a href="#wasi_random_random_0_2_2"><code>wasi:random/random@0.2.2</code></a></li>
<li>interface <a href="#wasi_io_error_0_2_2"><code>wasi:io/error@0.2.2</code></a></li>
<li>interface <a href="#wasi_io_streams_0_2_2"><code>wasi:io/streams@0.2.2</code></a></li>
<li>interface <a href="#wasi_cli_stdout_0_2_2"><code>wasi:cli/stdout@0.2.2</code></a></li>
<li>interface <a href="#wasi_cli_stderr_0_2_2"><code>wasi:cli/stderr@0.2.2</code></a></li>
<li>interface <a href="#wasi_cli_stdin_0_2_2"><code>wasi:cli/stdin@0.2.2</code></a></li>
<li>interface <a href="#wasi_http_types_0_2_2"><code>wasi:http/types@0.2.2</code></a></li>
<li>interface <a href="#wasi_http_outgoing_handler_0_2_2"><code>wasi:http/outgoing-handler@0.2.2</code></a></li>
</ul>
</li>
</ul>
<h2><a id="wasi_io_poll_0_2_1"></a>Import interface wasi:io/poll@0.2.1</h2>
<h2><a id="wasi_io_poll_0_2_2"></a>Import interface wasi:io/poll@0.2.2</h2>
<p>A poll API intended to let users wait for I/O events on multiple handles
at once.</p>
<hr />
Expand Down Expand Up @@ -71,7 +71,7 @@ being ready for I/O.</p>
<ul>
<li><a id="poll.0"></a> list&lt;<code>u32</code>&gt;</li>
</ul>
<h2><a id="wasi_clocks_monotonic_clock_0_2_1"></a>Import interface wasi:clocks/monotonic-clock@0.2.1</h2>
<h2><a id="wasi_clocks_monotonic_clock_0_2_2"></a>Import interface wasi:clocks/monotonic-clock@0.2.2</h2>
<p>WASI Monotonic Clock is a clock API intended to let users measure elapsed
time.</p>
<p>It is intended to be portable at least between Unix-family platforms and
Expand Down Expand Up @@ -130,7 +130,7 @@ elapsed from the time this function is invoked.</p>
<ul>
<li><a id="subscribe_duration.0"></a> own&lt;<a href="#pollable"><a href="#pollable"><code>pollable</code></a></a>&gt;</li>
</ul>
<h2><a id="wasi_clocks_wall_clock_0_2_1"></a>Import interface wasi:clocks/wall-clock@0.2.1</h2>
<h2><a id="wasi_clocks_wall_clock_0_2_2"></a>Import interface wasi:clocks/wall-clock@0.2.2</h2>
<p>WASI Wall Clock is a clock API intended to let users query the current
time. The name &quot;wall&quot; makes an analogy to a &quot;clock on the wall&quot;, which
is not necessarily monotonic as it may be reset.</p>
Expand Down Expand Up @@ -171,7 +171,7 @@ also known as <a href="https://en.wikipedia.org/wiki/Unix_time">Unix Time</a>.</
<ul>
<li><a id="resolution.0"></a> <a href="#datetime"><a href="#datetime"><code>datetime</code></a></a></li>
</ul>
<h2><a id="wasi_random_random_0_2_1"></a>Import interface wasi:random/random@0.2.1</h2>
<h2><a id="wasi_random_random_0_2_2"></a>Import interface wasi:random/random@0.2.2</h2>
<p>WASI Random is a random data API.</p>
<p>It is intended to be portable at least between Unix-family platforms and
Windows.</p>
Expand Down Expand Up @@ -204,7 +204,7 @@ represented as a <code>u64</code>.</p>
<ul>
<li><a id="get_random_u64.0"></a> <code>u64</code></li>
</ul>
<h2><a id="wasi_io_error_0_2_1"></a>Import interface wasi:io/error@0.2.1</h2>
<h2><a id="wasi_io_error_0_2_2"></a>Import interface wasi:io/error@0.2.2</h2>
<hr />
<h3>Types</h3>
<h4><a id="error"></a><code>resource error</code></h4>
Expand Down Expand Up @@ -237,7 +237,7 @@ hazard.</p>
<ul>
<li><a id="method_error_to_debug_string.0"></a> <code>string</code></li>
</ul>
<h2><a id="wasi_io_streams_0_2_1"></a>Import interface wasi:io/streams@0.2.1</h2>
<h2><a id="wasi_io_streams_0_2_2"></a>Import interface wasi:io/streams@0.2.2</h2>
<p>WASI I/O is an I/O abstraction API which is currently focused on providing
stream types.</p>
<p>In the future, the component model is expected to add built-in stream types;
Expand All @@ -258,6 +258,8 @@ when it does, they are expected to subsume this API.</p>
<p><a id="stream_error.last_operation_failed"></a><code>last-operation-failed</code>: own&lt;<a href="#error"><a href="#error"><code>error</code></a></a>&gt;</p>
<p>The last operation (a write or flush) failed before completion.
<p>More information is available in the <a href="#error"><code>error</code></a> payload.</p>
<p>After this, the stream will be closed. All future operations return
<a href="#stream_error.closed"><code>stream-error::closed</code></a>.</p>
</li>
<li>
<p><a id="stream_error.closed"></a><code>closed</code></p>
Expand Down Expand Up @@ -565,7 +567,7 @@ is ready for reading, before performing the <code>splice</code>.</p>
<ul>
<li><a id="method_output_stream_blocking_splice.0"></a> result&lt;<code>u64</code>, <a href="#stream_error"><a href="#stream_error"><code>stream-error</code></a></a>&gt;</li>
</ul>
<h2><a id="wasi_cli_stdout_0_2_1"></a>Import interface wasi:cli/stdout@0.2.1</h2>
<h2><a id="wasi_cli_stdout_0_2_2"></a>Import interface wasi:cli/stdout@0.2.2</h2>
<hr />
<h3>Types</h3>
<h4><a id="output_stream"></a><code>type output-stream</code></h4>
Expand All @@ -578,7 +580,7 @@ is ready for reading, before performing the <code>splice</code>.</p>
<ul>
<li><a id="get_stdout.0"></a> own&lt;<a href="#output_stream"><a href="#output_stream"><code>output-stream</code></a></a>&gt;</li>
</ul>
<h2><a id="wasi_cli_stderr_0_2_1"></a>Import interface wasi:cli/stderr@0.2.1</h2>
<h2><a id="wasi_cli_stderr_0_2_2"></a>Import interface wasi:cli/stderr@0.2.2</h2>
<hr />
<h3>Types</h3>
<h4><a id="output_stream"></a><code>type output-stream</code></h4>
Expand All @@ -591,7 +593,7 @@ is ready for reading, before performing the <code>splice</code>.</p>
<ul>
<li><a id="get_stderr.0"></a> own&lt;<a href="#output_stream"><a href="#output_stream"><code>output-stream</code></a></a>&gt;</li>
</ul>
<h2><a id="wasi_cli_stdin_0_2_1"></a>Import interface wasi:cli/stdin@0.2.1</h2>
<h2><a id="wasi_cli_stdin_0_2_2"></a>Import interface wasi:cli/stdin@0.2.2</h2>
<hr />
<h3>Types</h3>
<h4><a id="input_stream"></a><code>type input-stream</code></h4>
Expand All @@ -604,7 +606,7 @@ is ready for reading, before performing the <code>splice</code>.</p>
<ul>
<li><a id="get_stdin.0"></a> own&lt;<a href="#input_stream"><a href="#input_stream"><code>input-stream</code></a></a>&gt;</li>
</ul>
<h2><a id="wasi_http_types_0_2_1"></a>Import interface wasi:http/types@0.2.1</h2>
<h2><a id="wasi_http_types_0_2_2"></a>Import interface wasi:http/types@0.2.2</h2>
<p>This interface defines all of the types and methods for implementing
HTTP Requests and Responses, both incoming and outgoing, as well as
their headers, trailers, and bodies.</p>
Expand Down Expand Up @@ -1505,7 +1507,7 @@ but those will be reported by the <a href="#incoming_body"><code>incoming-body</
<ul>
<li><a id="method_future_incoming_response_get.0"></a> option&lt;result&lt;result&lt;own&lt;<a href="#incoming_response"><a href="#incoming_response"><code>incoming-response</code></a></a>&gt;, <a href="#error_code"><a href="#error_code"><code>error-code</code></a></a>&gt;&gt;&gt;</li>
</ul>
<h2><a id="wasi_http_outgoing_handler_0_2_1"></a>Import interface wasi:http/outgoing-handler@0.2.1</h2>
<h2><a id="wasi_http_outgoing_handler_0_2_2"></a>Import interface wasi:http/outgoing-handler@0.2.2</h2>
<p>This interface defines a handler of outgoing HTTP Requests. It should be
imported by components which wish to make HTTP Requests.</p>
<hr />
Expand Down
Loading

0 comments on commit 6a86347

Please sign in to comment.