feat: with variable

Signed-off-by: kjuulh <contact@kjuulh.io>
This commit is contained in:
Kasper Juul Hermansen 2023-06-17 12:14:10 +02:00
parent 349bf01199
commit 6fd2f828c5
Signed by: kjuulh
GPG Key ID: 57B6E1465221F912
4 changed files with 3 additions and 3 deletions

View File

@ -1,9 +1,9 @@
[workspace]
members = ["crates/service"]
members = ["crates/%%name%%"]
resolver = "2"
[workspace.dependencies]
service = { path = "crates/service" }
%%name%% = { path = "crates/%%name%%" }
anyhow = { version = "1.0.71" }
tokio = { version = "1", features = ["full"] }

View File

@ -45,5 +45,5 @@ async fn main() -> anyhow::Result<()> {
}
async fn root() -> &'static str {
"Hello, Service!"
"Hello, %%name%%!"
}