tangled
alpha
login
or
join now
suri.codes
/
filaments
2
fork
atom
My personal-knowledge-system, with deeply integrated task tracking and long term goal planning capabilities.
2
fork
atom
overview
issues
pulls
pipelines
test ci
suri.codes
2 weeks ago
0537f096
116ace5d
verified
This commit was signed with the committer's
known signature
.
suri.codes
SSH Key Fingerprint:
SHA256:rTPBPZZoiphDQQwY84AnrZ0gDJZHX9UX/wNGUAU15Sc=
0/2
check.yaml
failed
3s
test.yaml
failed
2s
+40
6 changed files
expand all
collapse all
unified
split
.tangled
workflows
check.yaml
test.yaml
Cargo.toml
fil-types
Cargo.lock
Cargo.toml
src
lib.rs
+3
.tangled/workflows/check.yaml
···
2
2
- event: ["push", "pull_request"]
3
3
branch: ["main"]
4
4
5
5
+
engine: "nixery"
6
6
+
5
7
dependencies:
6
8
nixpkgs:
7
9
- cargo
10
10
+
- clippy
8
11
- just
9
12
10
13
steps:
+2
.tangled/workflows/test.yaml
···
2
2
- event: ["push", "pull_request"]
3
3
branch: ["main"]
4
4
5
5
+
engine: "nixery"
6
6
+
5
7
dependencies:
6
8
nixpkgs:
7
9
- cargo
+8
Cargo.toml
···
1
1
+
[workspace]
2
2
+
name = "filaments"
3
3
+
author = "suri.codes <suri312006@gmail.com>"
4
4
+
resolver = "3"
5
5
+
members = ["fil-types"]
6
6
+
7
7
+
8
8
+
+7
fil-types/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 = "fil-types"
7
7
+
version = "0.1.0"
+6
fil-types/Cargo.toml
···
1
1
+
[package]
2
2
+
name = "fil-types"
3
3
+
version = "0.1.0"
4
4
+
edition = "2024"
5
5
+
6
6
+
[dependencies]
+14
fil-types/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
+
}