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"
[dependencies]
{% if serde %}
{%- if serde -%}
serde = { version = "1.0", features = ["derive"] }
serde_json = "1.0"
{% endif %}
{% if tracing %}
{%- endif -%}
{%- if tracing -%}
tracing = "0.1"
tracing-subscriber = "0.3"
{% endif %}
{% if async %}
{%- endif -%}
{%- if async -%}
tokio = { version = "1.0", features = ["full"] }
{% endif %}
{%- endif -%}

View file

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