Clone in a terminal:
Commit 5666609
Johan Mattsson - 2026-03-03T18:14:48+00:00
5666609dffaccd2ec2ecbf96ea61ddafdffaa857johan.mattsson.m@gmail.com

Rename project to kaja-html-macro

Changed files (10)

Diff

diff --git a/README.md b/README.mdindex 779b6ac..c28e262 100644--- a/README.md+++ b/README.md@@ -18,7 +18,7 @@ project. It expands at compile time into `String`. Inserts a variable and escapes HTML tags.  ```rust-use htmlmacro::html;+use kaja_html_macro::html; let name = "<b>Johan</b>";  let html = html! {{@@ -44,7 +44,7 @@ You can evaluate arbitrary Rust expressions: Expressions are also automatically escaped.  ```rust-use htmlmacro::html;+use kaja_html_macro::html; fn get_value() -> String {     "42".to_string() }@@ -68,14 +68,14 @@ Markup emitted from Rust should be wrapped in `<markup>`. Use `<include />` to insert HTML content from another component.  ```rust-use htmlmacro::html;+use kaja_html_macro::html;  fn parent() -> String {     let content = html! {{         <div>             <include child_component_simple_loop() />         </div>-    }}+    }};     content } diff --git a/src/lib.rs b/src/lib.rsindex 410ee38..4bf453b 100644--- a/src/lib.rs+++ b/src/lib.rs@@ -22,7 +22,7 @@ use proc_macro_error::proc_macro_error; /// # Example for generating a String with HTML tags: /// /// ```rust-/// use htmlmacro::html;+/// use kaja_html_macro::html; /// /// fn get_header() -> String { ///     let content = html! {{ <h1>Header</h1> }};diff --git a/test-fail-messages/include/main.rs b/test-fail-messages/include/main.rsindex d2d529b..aab6953 100644--- a/test-fail-messages/include/main.rs+++ b/test-fail-messages/include/main.rs@@ -1,4 +1,4 @@-use htmlmacro::html;+use kaja_html_macro::html;  fn main() {     // missing slash in includediff --git a/test-fail-messages/start/main.rs b/test-fail-messages/start/main.rsindex 7d6a237..7486d0a 100644--- a/test-fail-messages/start/main.rs+++ b/test-fail-messages/start/main.rs@@ -1,4 +1,4 @@-use htmlmacro::html;+use kaja_html_macro::html;  fn main() {     // macro start with double brackets: html! {{diff --git a/test-fail-messages/structmember/main.rs b/test-fail-messages/structmember/main.rsindex 2efc14c..8005ddb 100644--- a/test-fail-messages/structmember/main.rs+++ b/test-fail-messages/structmember/main.rs@@ -1,4 +1,4 @@-use htmlmacro::html;+use kaja_html_macro::html;  struct Test {     test_member: u64,diff --git a/test-fail-messages/variable/main.rs b/test-fail-messages/variable/main.rsindex 29c0e46..6e48d5d 100644--- a/test-fail-messages/variable/main.rs+++ b/test-fail-messages/variable/main.rs@@ -1,4 +1,4 @@-use htmlmacro::html;+use kaja_html_macro::html;  fn main() {     // missing variable does_not_existdiff --git a/tests/injection.rs b/tests/injection.rsindex c272fa3..6b78fb8 100644--- a/tests/injection.rs+++ b/tests/injection.rs@@ -1,7 +1,7 @@ // Copyright (c) 2026 Johan Mattsson // License: MIT -use htmlmacro::html;+use kaja_html_macro::html;  fn another_injection() -> String {     return "<script>anothertest</script>".to_string();diff --git a/tests/interleaved.rs b/tests/interleaved.rsindex ab44d78..ebac552 100644--- a/tests/interleaved.rs+++ b/tests/interleaved.rs@@ -1,7 +1,7 @@ // Copyright (c) 2026 Johan Mattsson // License: MIT -use htmlmacro::html;+use kaja_html_macro::html;  #[test] fn test_interleaved() {diff --git a/tests/other.rs b/tests/other.rsindex 268750a..93c744e 100644--- a/tests/other.rs+++ b/tests/other.rs@@ -1,7 +1,7 @@ // Copyright (c) 2026 Johan Mattsson // License: MIT -use htmlmacro::html;+use kaja_html_macro::html;  #[test] fn test_var() {diff --git a/tests/tag.rs b/tests/tag.rsindex 1ef4ca0..96bcb29 100644--- a/tests/tag.rs+++ b/tests/tag.rs@@ -1,7 +1,7 @@ // Copyright (c) 2026 Johan Mattsson // License: MIT -use htmlmacro::html;+use kaja_html_macro::html;  struct Test {     number: u32,

Contact

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