From d6ed6a219b31a58526721f96195c80061d41ce54 Mon Sep 17 00:00:00 2001 From: Andrew Clayton Date: Wed, 2 Aug 2023 17:03:48 +0100 Subject: Initial commit libunit-wasm and example C and Rust WebAssembly modules for NGINX Unit. Co-developed-by: Timo Stark Co-developed-by: Liam Crilly Signed-off-by: Andrew Clayton --- examples/rust/echo-request/Cargo.toml | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100644 examples/rust/echo-request/Cargo.toml (limited to 'examples/rust/echo-request/Cargo.toml') diff --git a/examples/rust/echo-request/Cargo.toml b/examples/rust/echo-request/Cargo.toml new file mode 100644 index 0000000..256242e --- /dev/null +++ b/examples/rust/echo-request/Cargo.toml @@ -0,0 +1,12 @@ +[package] +name = "rust-echo-request" +version = "0.1.0" +edition = "2021" + +# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html + +[dependencies] +unit-wasm = { path = "../../../src/rust", version = "0.1.0-beta" } + +[lib] +crate-type = ["cdylib"] -- cgit