From 4d89f4537c325f60571cc6339df0708ee8161514 Mon Sep 17 00:00:00 2001 From: DanConwayDev Date: Tue, 4 Nov 2025 10:44:51 +0000 Subject: 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 --- Cargo.toml | 4 ++++ src/lib.rs | 3 +++ 2 files changed, 7 insertions(+) create mode 100644 src/lib.rs 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" # Testing tokio-test = "0.4" +[lib] +name = "ngit_grasp" +path = "src/lib.rs" + [[bin]] name = "ngit-grasp" path = "src/main.rs" diff --git a/src/lib.rs b/src/lib.rs new file mode 100644 index 0000000..f4a8cbf --- /dev/null +++ b/src/lib.rs @@ -0,0 +1,3 @@ +pub mod config; +pub mod nostr; +pub mod storage; -- cgit v1.2.3