From 8e3f1bee9eb6ae640ffc3727414f60713c4a01a2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Orhun=20Parmaks=C4=B1z?= Date: Mon, 2 Sep 2024 20:21:49 +0300 Subject: [PATCH 1/2] fix(component): use correct formatting for repository metadata --- component/template/Cargo.toml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/component/template/Cargo.toml b/component/template/Cargo.toml index 7f83181..8fe1b53 100644 --- a/component/template/Cargo.toml +++ b/component/template/Cargo.toml @@ -5,7 +5,9 @@ edition = "2021" description = "{{project-description}}" authors = ["{{authors}}"] build = "build.rs" -{%- if repository != "" %}repository = "{{repository}}"{% endif %} +{%- if repository != "" %} +repository = "{{repository}}" +{%- endif %} # See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html From 859dc1f9c710f0c5784e630fc566db39f9fc9b90 Mon Sep 17 00:00:00 2001 From: Josh McKinney Date: Mon, 2 Sep 2024 10:35:01 -0700 Subject: [PATCH 2/2] Update component/template/Cargo.toml --- component/template/Cargo.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/component/template/Cargo.toml b/component/template/Cargo.toml index 8fe1b53..2c32ee2 100644 --- a/component/template/Cargo.toml +++ b/component/template/Cargo.toml @@ -5,7 +5,7 @@ edition = "2021" description = "{{project-description}}" authors = ["{{authors}}"] build = "build.rs" -{%- if repository != "" %} +{% if repository != "" -%} repository = "{{repository}}" {%- endif %}