diff --git a/Cargo.toml b/Cargo.toml index 3f8c8a476..982535c00 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -36,7 +36,7 @@ wasmer-wasi = { path = "lib/wasi", optional = true } kwasm-loader = { path = "lib/kwasm-loader", optional = true } [workspace] -members = ["lib/clif-backend", "lib/singlepass-backend", "lib/runtime", "lib/runtime-abi", "lib/runtime-core", "lib/emscripten", "lib/spectests", "lib/win-exception-handler", "lib/runtime-c-api", "lib/llvm-backend", "lib/wasi", "lib/middleware-common", "lib/kwasm-loader", "lib/kwasm-net", "examples/pipe", "examples/wasi-networking", "examples/http-server", "examples/plugin-for-example"] +members = ["lib/clif-backend", "lib/singlepass-backend", "lib/runtime", "lib/runtime-abi", "lib/runtime-core", "lib/emscripten", "lib/spectests", "lib/win-exception-handler", "lib/runtime-c-api", "lib/llvm-backend", "lib/wasi", "lib/middleware-common", "lib/kwasm-loader", "lib/kwasm-net", "examples/plugin-for-example"] [build-dependencies] wabt = "0.7.2" diff --git a/examples/http-server/Cargo.lock b/examples/http-server/Cargo.lock new file mode 100644 index 000000000..da2847543 --- /dev/null +++ b/examples/http-server/Cargo.lock @@ -0,0 +1,13 @@ +# This file is automatically @generated by Cargo. +# It is not intended for manual editing. +[[package]] +name = "http-server" +version = "0.1.0" +dependencies = [ + "kwasm-net 0.1.0", +] + +[[package]] +name = "kwasm-net" +version = "0.1.0" + diff --git a/examples/http-server/Cargo.toml b/examples/http-server/Cargo.toml index 3d6f23502..daa66555c 100644 --- a/examples/http-server/Cargo.toml +++ b/examples/http-server/Cargo.toml @@ -6,5 +6,7 @@ edition = "2018" # See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html +[workspace] + [dependencies] kwasm-net = { path = "../../lib/kwasm-net" } diff --git a/examples/pipe/Cargo.toml b/examples/pipe/Cargo.toml index 50702bbb1..3dec72148 100644 --- a/examples/pipe/Cargo.toml +++ b/examples/pipe/Cargo.toml @@ -4,4 +4,6 @@ version = "0.1.0" authors = ["Heyang Zhou "] edition = "2018" +[workspace] + [dependencies] diff --git a/examples/wasi-networking/Cargo.toml b/examples/wasi-networking/Cargo.toml index 8057f9592..fe6712c17 100644 --- a/examples/wasi-networking/Cargo.toml +++ b/examples/wasi-networking/Cargo.toml @@ -4,5 +4,7 @@ version = "0.1.0" authors = ["Heyang Zhou "] edition = "2018" +[workspace] + [dependencies] kwasm-net = { path = "../../lib/kwasm-net" } \ No newline at end of file