From ab74e847e853b1b8fda6e3a25e13a3c2424d1ee2 Mon Sep 17 00:00:00 2001 From: Kaspar Schleiser Date: Tue, 22 Oct 2024 13:41:54 +0200 Subject: [PATCH] feat(examples): rename `hello-world-async` -> `hello-world` --- examples/README.md | 2 +- examples/{hello-world-async => hello-world}/Cargo.toml | 2 +- examples/{hello-world-async => hello-world}/README.md | 0 examples/{hello-world-async => hello-world}/laze.yml | 2 +- examples/{hello-world-async => hello-world}/src/main.rs | 0 examples/laze.yml | 2 +- 6 files changed, 4 insertions(+), 4 deletions(-) rename examples/{hello-world-async => hello-world}/Cargo.toml (92%) rename examples/{hello-world-async => hello-world}/README.md (100%) rename examples/{hello-world-async => hello-world}/laze.yml (56%) rename examples/{hello-world-async => hello-world}/src/main.rs (100%) diff --git a/examples/README.md b/examples/README.md index b345965f4..2fb43349c 100644 --- a/examples/README.md +++ b/examples/README.md @@ -9,7 +9,7 @@ This directory contains example applications that showcase how to use RIOT-rs. - [embassy-net-tcp/](./embassy-net-tcp): TCP echo example - [embassy-http-server/](./embassy-http-server): HTTP server example - [embassy-usb-keyboard/](./embassy-usb-keyboard): USB HID example -- [hello-world-async/](./hello-world-async): a classic, async version +- [hello-world/](./hello-world): a classic, async version - [hello-world-threading/](./hello-world-threading): a classic, using a thread - [minimal/](./minimal): minimized to the max RIOT-rs config - [threading/](./threading): how to start and use preemptively scheduled threads diff --git a/examples/hello-world-async/Cargo.toml b/examples/hello-world/Cargo.toml similarity index 92% rename from examples/hello-world-async/Cargo.toml rename to examples/hello-world/Cargo.toml index f672feb31..eec61b80b 100644 --- a/examples/hello-world-async/Cargo.toml +++ b/examples/hello-world/Cargo.toml @@ -1,5 +1,5 @@ [package] -name = "hello-world-async" +name = "hello-world" version = "0.1.0" authors.workspace = true license.workspace = true diff --git a/examples/hello-world-async/README.md b/examples/hello-world/README.md similarity index 100% rename from examples/hello-world-async/README.md rename to examples/hello-world/README.md diff --git a/examples/hello-world-async/laze.yml b/examples/hello-world/laze.yml similarity index 56% rename from examples/hello-world-async/laze.yml rename to examples/hello-world/laze.yml index 793494c84..dc87b8f2e 100644 --- a/examples/hello-world-async/laze.yml +++ b/examples/hello-world/laze.yml @@ -1,4 +1,4 @@ apps: - - name: hello-world-async + - name: hello-world selects: - ?release diff --git a/examples/hello-world-async/src/main.rs b/examples/hello-world/src/main.rs similarity index 100% rename from examples/hello-world-async/src/main.rs rename to examples/hello-world/src/main.rs diff --git a/examples/laze.yml b/examples/laze.yml index a9aa8f63c..5135f2602 100644 --- a/examples/laze.yml +++ b/examples/laze.yml @@ -14,8 +14,8 @@ subdirs: - embassy-net-udp - embassy-usb-keyboard - gpio + - hello-world - hello-world-threading - - hello-world-async - log - minimal - random