├── .github └── workflows │ └── release.yml ├── .gitignore ├── README.md ├── control ├── .gitignore ├── Cargo.toml ├── Dockerfile ├── README.md └── src │ └── main.rs ├── function ├── .gitignore ├── Cargo.toml ├── Dockerfile ├── README.md └── src │ └── main.rs ├── hello ├── .gitignore ├── Cargo.toml ├── Dockerfile ├── README.md └── src │ └── main.rs ├── move ├── .gitignore ├── Cargo.toml ├── Dockerfile ├── README.md └── src │ └── main.rs ├── server ├── .gitignore ├── Cargo.toml ├── Dockerfile ├── README.md └── src │ └── main.rs ├── string ├── .gitignore ├── Cargo.toml ├── Dockerfile ├── README.md └── src │ └── main.rs ├── struct ├── .gitignore ├── Cargo.toml ├── Dockerfile ├── README.md └── src │ └── main.rs └── wasi ├── .gitignore ├── Cargo.toml ├── Dockerfile ├── README.md └── src └── main.rs /.github/workflows/release.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/second-state/rust-examples/HEAD/.github/workflows/release.yml -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/second-state/rust-examples/HEAD/.gitignore -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/second-state/rust-examples/HEAD/README.md -------------------------------------------------------------------------------- /control/.gitignore: -------------------------------------------------------------------------------- 1 | /target 2 | **/*.rs.bk 3 | Cargo.lock 4 | build 5 | node_modules 6 | *.swp 7 | -------------------------------------------------------------------------------- /control/Cargo.toml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/second-state/rust-examples/HEAD/control/Cargo.toml -------------------------------------------------------------------------------- /control/Dockerfile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/second-state/rust-examples/HEAD/control/Dockerfile -------------------------------------------------------------------------------- /control/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/second-state/rust-examples/HEAD/control/README.md -------------------------------------------------------------------------------- /control/src/main.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/second-state/rust-examples/HEAD/control/src/main.rs -------------------------------------------------------------------------------- /function/.gitignore: -------------------------------------------------------------------------------- 1 | /target 2 | **/*.rs.bk 3 | Cargo.lock 4 | build 5 | node_modules 6 | *.swp 7 | -------------------------------------------------------------------------------- /function/Cargo.toml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/second-state/rust-examples/HEAD/function/Cargo.toml -------------------------------------------------------------------------------- /function/Dockerfile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/second-state/rust-examples/HEAD/function/Dockerfile -------------------------------------------------------------------------------- /function/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/second-state/rust-examples/HEAD/function/README.md -------------------------------------------------------------------------------- /function/src/main.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/second-state/rust-examples/HEAD/function/src/main.rs -------------------------------------------------------------------------------- /hello/.gitignore: -------------------------------------------------------------------------------- 1 | /target 2 | **/*.rs.bk 3 | Cargo.lock 4 | build 5 | node_modules 6 | *.swp 7 | -------------------------------------------------------------------------------- /hello/Cargo.toml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/second-state/rust-examples/HEAD/hello/Cargo.toml -------------------------------------------------------------------------------- /hello/Dockerfile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/second-state/rust-examples/HEAD/hello/Dockerfile -------------------------------------------------------------------------------- /hello/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/second-state/rust-examples/HEAD/hello/README.md -------------------------------------------------------------------------------- /hello/src/main.rs: -------------------------------------------------------------------------------- 1 | fn main() { 2 | let s : &str = "Hello WasmEdge!"; 3 | println!("{}", s); 4 | } 5 | -------------------------------------------------------------------------------- /move/.gitignore: -------------------------------------------------------------------------------- 1 | /target 2 | **/*.rs.bk 3 | Cargo.lock 4 | build 5 | node_modules 6 | *.swp 7 | -------------------------------------------------------------------------------- /move/Cargo.toml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/second-state/rust-examples/HEAD/move/Cargo.toml -------------------------------------------------------------------------------- /move/Dockerfile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/second-state/rust-examples/HEAD/move/Dockerfile -------------------------------------------------------------------------------- /move/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/second-state/rust-examples/HEAD/move/README.md -------------------------------------------------------------------------------- /move/src/main.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/second-state/rust-examples/HEAD/move/src/main.rs -------------------------------------------------------------------------------- /server/.gitignore: -------------------------------------------------------------------------------- 1 | /target 2 | **/*.rs.bk 3 | Cargo.lock 4 | build 5 | node_modules 6 | *.swp 7 | -------------------------------------------------------------------------------- /server/Cargo.toml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/second-state/rust-examples/HEAD/server/Cargo.toml -------------------------------------------------------------------------------- /server/Dockerfile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/second-state/rust-examples/HEAD/server/Dockerfile -------------------------------------------------------------------------------- /server/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/second-state/rust-examples/HEAD/server/README.md -------------------------------------------------------------------------------- /server/src/main.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/second-state/rust-examples/HEAD/server/src/main.rs -------------------------------------------------------------------------------- /string/.gitignore: -------------------------------------------------------------------------------- 1 | /target 2 | **/*.rs.bk 3 | Cargo.lock 4 | build 5 | node_modules 6 | *.swp 7 | -------------------------------------------------------------------------------- /string/Cargo.toml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/second-state/rust-examples/HEAD/string/Cargo.toml -------------------------------------------------------------------------------- /string/Dockerfile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/second-state/rust-examples/HEAD/string/Dockerfile -------------------------------------------------------------------------------- /string/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/second-state/rust-examples/HEAD/string/README.md -------------------------------------------------------------------------------- /string/src/main.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/second-state/rust-examples/HEAD/string/src/main.rs -------------------------------------------------------------------------------- /struct/.gitignore: -------------------------------------------------------------------------------- 1 | /target 2 | **/*.rs.bk 3 | Cargo.lock 4 | build 5 | node_modules 6 | *.swp 7 | -------------------------------------------------------------------------------- /struct/Cargo.toml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/second-state/rust-examples/HEAD/struct/Cargo.toml -------------------------------------------------------------------------------- /struct/Dockerfile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/second-state/rust-examples/HEAD/struct/Dockerfile -------------------------------------------------------------------------------- /struct/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/second-state/rust-examples/HEAD/struct/README.md -------------------------------------------------------------------------------- /struct/src/main.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/second-state/rust-examples/HEAD/struct/src/main.rs -------------------------------------------------------------------------------- /wasi/.gitignore: -------------------------------------------------------------------------------- 1 | /target 2 | **/*.rs.bk 3 | Cargo.lock 4 | build 5 | node_modules 6 | *.swp 7 | -------------------------------------------------------------------------------- /wasi/Cargo.toml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/second-state/rust-examples/HEAD/wasi/Cargo.toml -------------------------------------------------------------------------------- /wasi/Dockerfile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/second-state/rust-examples/HEAD/wasi/Dockerfile -------------------------------------------------------------------------------- /wasi/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/second-state/rust-examples/HEAD/wasi/README.md -------------------------------------------------------------------------------- /wasi/src/main.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/second-state/rust-examples/HEAD/wasi/src/main.rs --------------------------------------------------------------------------------