From 22c73843bcf53ea01b7f13e7bc5a0f8ad4013480 Mon Sep 17 00:00:00 2001 From: Manuel Thalmann <m@nuth.ch> Date: Thu, 3 Apr 2025 08:09:47 +0200 Subject: [PATCH] Add a project for testing `async` feature --- hello-async/Cargo.lock | 7 +++++++ hello-async/Cargo.toml | 6 ++++++ hello-async/src/main.rs | 3 +++ rust-exercises.code-workspace | 3 +++ 4 files changed, 19 insertions(+) create mode 100644 hello-async/Cargo.lock create mode 100644 hello-async/Cargo.toml create mode 100644 hello-async/src/main.rs diff --git a/hello-async/Cargo.lock b/hello-async/Cargo.lock new file mode 100644 index 0000000..b24db29 --- /dev/null +++ b/hello-async/Cargo.lock @@ -0,0 +1,7 @@ +# This file is automatically @generated by Cargo. +# It is not intended for manual editing. +version = 4 + +[[package]] +name = "hello-async" +version = "0.1.0" diff --git a/hello-async/Cargo.toml b/hello-async/Cargo.toml new file mode 100644 index 0000000..72b4aab --- /dev/null +++ b/hello-async/Cargo.toml @@ -0,0 +1,6 @@ +[package] +name = "hello-async" +version = "0.1.0" +edition = "2024" + +[dependencies] diff --git a/hello-async/src/main.rs b/hello-async/src/main.rs new file mode 100644 index 0000000..e7a11a9 --- /dev/null +++ b/hello-async/src/main.rs @@ -0,0 +1,3 @@ +fn main() { + println!("Hello, world!"); +} diff --git a/rust-exercises.code-workspace b/rust-exercises.code-workspace index f19cd29..dda9613 100644 --- a/rust-exercises.code-workspace +++ b/rust-exercises.code-workspace @@ -1,5 +1,8 @@ { "folders": [ + { + "path": "./hello-async" + }, { "path": "./add" },