fix: whitespaces

This commit is contained in:
davidon-top 2024-01-28 12:13:27 +01:00
parent b40a1f301b
commit 14079c99cd
Signed by: DavidOnTop
GPG key ID: FAB914DDC2F180EB
2 changed files with 9 additions and 9 deletions

View file

@ -10,14 +10,14 @@ license = "{{license}}"
repository = "git@github.com:{{username}}/{{project-name}}.git" repository = "git@github.com:{{username}}/{{project-name}}.git"
[dependencies] [dependencies]
{% if serde %} {%- if serde -%}
serde = { version = "1.0", features = ["derive"] } serde = { version = "1.0", features = ["derive"] }
serde_json = "1.0" serde_json = "1.0"
{% endif %} {%- endif -%}
{% if tracing %} {%- if tracing -%}
tracing = "0.1" tracing = "0.1"
tracing-subscriber = "0.3" tracing-subscriber = "0.3"
{% endif %} {%- endif -%}
{% if async %} {%- if async -%}
tokio = { version = "1.0", features = ["full"] } tokio = { version = "1.0", features = ["full"] }
{% endif %} {%- endif -%}

View file

@ -1,10 +1,10 @@
{% if async %} {%- if async -%}
#[tokio::main] #[tokio::main]
async fn main() { async fn main() {
println!("Hello, world!"); println!("Hello, world!");
} }
{% else %} {%- else -%}
fn main() { fn main() {
println!("Hello, world!"); println!("Hello, world!");
} }
{% endif %} {%- endif -%}