From 2869844cd750bcea79603b6163c72cbebd1db7fb Mon Sep 17 00:00:00 2001 From: Fangdun Tsai Date: Fri, 1 Dec 2023 21:06:36 +0800 Subject: [PATCH] chore(examples): rename static-embed to include-dir --- .../static-files/{static-embed => include-dir}/Cargo.toml | 8 ++++---- .../{static-embed => include-dir}/html/assets/style.css | 0 .../{static-embed => include-dir}/html/index.html | 0 .../{static-embed => include-dir}/src/main.rs | 0 4 files changed, 4 insertions(+), 4 deletions(-) rename examples/static-files/{static-embed => include-dir}/Cargo.toml (82%) rename examples/static-files/{static-embed => include-dir}/html/assets/style.css (100%) rename examples/static-files/{static-embed => include-dir}/html/index.html (100%) rename examples/static-files/{static-embed => include-dir}/src/main.rs (100%) diff --git a/examples/static-files/static-embed/Cargo.toml b/examples/static-files/include-dir/Cargo.toml similarity index 82% rename from examples/static-files/static-embed/Cargo.toml rename to examples/static-files/include-dir/Cargo.toml index 011985f3..8080e100 100644 --- a/examples/static-files/static-embed/Cargo.toml +++ b/examples/static-files/include-dir/Cargo.toml @@ -1,12 +1,12 @@ [package] -name = "static-embed" +name = "include-dir" version = "0.1.0" edition.workspace = true publish = false [dependencies] viz.workspace = true -include_dir = "0.7.3" -http-body-util = "0.1" - tokio = { workspace = true, features = ["rt-multi-thread", "macros"] } + +include_dir = "0.7" +http-body-util = "0.1" diff --git a/examples/static-files/static-embed/html/assets/style.css b/examples/static-files/include-dir/html/assets/style.css similarity index 100% rename from examples/static-files/static-embed/html/assets/style.css rename to examples/static-files/include-dir/html/assets/style.css diff --git a/examples/static-files/static-embed/html/index.html b/examples/static-files/include-dir/html/index.html similarity index 100% rename from examples/static-files/static-embed/html/index.html rename to examples/static-files/include-dir/html/index.html diff --git a/examples/static-files/static-embed/src/main.rs b/examples/static-files/include-dir/src/main.rs similarity index 100% rename from examples/static-files/static-embed/src/main.rs rename to examples/static-files/include-dir/src/main.rs