Clone in a terminal:
Commit 1107049
Johan Mattsson - 2026-10-31T22:56:38+00:00
11070493391d1ca5d1c54bc3d4491a011dedd799johan.mattsson.m@gmail.com

Add license to template

Changed files (3)

Diff

diff --git a/kaja-web-template/Cargo.toml b/kaja-web-template/Cargo.tomlindex a853fdc..34a4502 100644--- a/kaja-web-template/Cargo.toml+++ b/kaja-web-template/Cargo.toml@@ -3,6 +3,7 @@ name = "{{project-name}}" version = "0.1.0" edition = "2024" description = "{{description}}"+license = "{{license}}"  [lib] crate-type = ["cdylib"]diff --git a/kaja-web-template/cargo-generate.toml b/kaja-web-template/cargo-generate.tomlindex c0ccbdb..1e820cb 100644--- a/kaja-web-template/cargo-generate.toml+++ b/kaja-web-template/cargo-generate.toml@@ -6,3 +6,8 @@ exclude = ["src/lib.rs"] type = "string" prompt = "Project description" default = "A Kaja Web application"++[placeholders.license]+type = "string"+prompt = "Project license"+default = "MIT"diff --git a/kaja-web-template/src/lib.rs b/kaja-web-template/src/lib.rsindex 1812215..4c011a4 100644--- a/kaja-web-template/src/lib.rs+++ b/kaja-web-template/src/lib.rs@@ -17,6 +17,6 @@ impl Component for HelloCardComponent {  #[wasm_bindgen(start)] pub fn main() {-    log!("Kaja Web template started.");+    log!("Kaja Web started.");     init_callbacks(); }

Contact

Email: johan.mattsson.m@gmail.com
Mastodon: typo.social/@birdfont
GitHub: johanmattssonm
LinkedIn: johan-mattsson-2ab324112