Skip to content

Commit 1860bc3

Browse files
ricochetvados-cosmonic
authored andcommitted
fix: http-password-checker sample
Fixes wasmCloud#4798 Signed-off-by: Bailey Hayes <behayes2@gmail.com>
1 parent 4c2ef35 commit 1860bc3

File tree

2 files changed

+7
-7
lines changed

2 files changed

+7
-7
lines changed

examples/rust/components/blobby/wit/deps/wasi-io-0.2.1/package.wit

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,11 @@
11
package wasi:io@0.2.1;
22

3+
interface error {
4+
resource error {
5+
to-debug-string: func() -> string;
6+
}
7+
}
8+
39
interface poll {
410
resource pollable {
511
ready: func() -> bool;
@@ -9,12 +15,6 @@ interface poll {
915
poll: func(in: list<borrow<pollable>>) -> list<u32>;
1016
}
1117

12-
interface error {
13-
resource error {
14-
to-debug-string: func() -> string;
15-
}
16-
}
17-
1818
interface streams {
1919
use error.{error};
2020
use poll.{pollable};

examples/rust/components/http-password-checker/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ crate-type = ["cdylib"]
1212
anyhow = "1.0.92"
1313
# NOTE: While we'd *like* to use zxcvbn here, it is built strictly for browser-side WASM
1414
passwords = { version = "3.1.16", default-features = false }
15-
serde = { version = "1.0.214", default-features = false, features = ["derive"] }
15+
serde = { version = "1.0.214", default-features = false, features = ["derive", "alloc"] }
1616
serde_json = { version = "1.0.132", default-features = false, features = [ "std" ] }
1717
wasmcloud-component = "0.2.0"
1818
wit-bindgen = { version = "0.34" }

0 commit comments

Comments
 (0)