tangled
alpha
login
or
join now
j0.lol
/
makup
Simple templating language for HTML. Define components and rewrite parts of HTML with them.
0
fork
atom
overview
issues
pulls
pipelines
Initial commit
j0.lol
1 month ago
bb98dfbc
options
unified
split
Changed files
+31
.gitignore
Cargo.lock
Cargo.toml
README.md
src
lib.rs
+1
.gitignore
···
1
1
+
/target
+7
Cargo.lock
···
1
1
+
# This file is automatically @generated by Cargo.
2
2
+
# It is not intended for manual editing.
3
3
+
version = 4
4
4
+
5
5
+
[[package]]
6
6
+
name = "makup"
7
7
+
version = "0.1.0"
+6
Cargo.toml
···
1
1
+
[package]
2
2
+
name = "makup"
3
3
+
version = "0.1.0"
4
4
+
edition = "2024"
5
5
+
6
6
+
[dependencies]
+3
README.md
···
1
1
+
# makup
2
2
+
3
3
+
Simple templating language for HTML. Define components and rewrite parts of HTML with them.
+14
src/lib.rs
···
1
1
+
pub fn add(left: u64, right: u64) -> u64 {
2
2
+
left + right
3
3
+
}
4
4
+
5
5
+
#[cfg(test)]
6
6
+
mod tests {
7
7
+
use super::*;
8
8
+
9
9
+
#[test]
10
10
+
fn it_works() {
11
11
+
let result = add(2, 2);
12
12
+
assert_eq!(result, 4);
13
13
+
}
14
14
+
}