upleb.uk

Public git repos — served from a NIP-34 GRASP relay at git.upleb.uk

summaryrefslogtreecommitdiff
path: root/Cargo.toml
diff options
context:
space:
mode:
authorDanConwayDev <DanConwayDev@protonmail.com>2025-11-04 10:44:51 +0000
committerDanConwayDev <DanConwayDev@protonmail.com>2025-11-04 10:44:51 +0000
commit4d89f4537c325f60571cc6339df0708ee8161514 (patch)
tree04f0b46cb9e05957f57f1e4cda5b38daedd34560 /Cargo.toml
parent9394657613014891ff91db6cd0a01b21bb257053 (diff)
feat: add library target for unit testing
- Create src/lib.rs with module exports - Update Cargo.toml with [lib] section - All 5 unit tests passing
Diffstat (limited to 'Cargo.toml')
-rw-r--r--Cargo.toml4
1 files changed, 4 insertions, 0 deletions
diff --git a/Cargo.toml b/Cargo.toml
index dec6113..bdad683 100644
--- a/Cargo.toml
+++ b/Cargo.toml
@@ -45,6 +45,10 @@ thiserror = "1.0"
45# Testing 45# Testing
46tokio-test = "0.4" 46tokio-test = "0.4"
47 47
48[lib]
49name = "ngit_grasp"
50path = "src/lib.rs"
51
48[[bin]] 52[[bin]]
49name = "ngit-grasp" 53name = "ngit-grasp"
50path = "src/main.rs" 54path = "src/main.rs"