feat: with variable
Signed-off-by: kjuulh <contact@kjuulh.io>
This commit is contained in:
parent
349bf01199
commit
6fd2f828c5
@ -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"] }
|
||||
|
@ -45,5 +45,5 @@ async fn main() -> anyhow::Result<()> {
|
||||
}
|
||||
|
||||
async fn root() -> &'static str {
|
||||
"Hello, Service!"
|
||||
"Hello, %%name%%!"
|
||||
}
|
Loading…
Reference in New Issue
Block a user