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>2024-09-04 08:04:48 +0100
committerDanConwayDev <DanConwayDev@protonmail.com>2024-09-04 13:30:59 +0100
commit949c6459aa7683453a7160423b689ceadb08954b (patch)
tree230c26ecb11b99916e5570e548673eb09ecf0a36 /Cargo.toml
parenta825311f2c55661aaab3a163bda9109295c96044 (diff)
refactor: organise into lib and bin structure
the make the code more readable this commit just moves the files, the next commit should fix the imports
Diffstat (limited to 'Cargo.toml')
-rw-r--r--Cargo.toml8
1 files changed, 6 insertions, 2 deletions
diff --git a/Cargo.toml b/Cargo.toml
index a45748f..1059f96 100644
--- a/Cargo.toml
+++ b/Cargo.toml
@@ -52,10 +52,14 @@ members = [
52 "test_utils", 52 "test_utils",
53] 53]
54 54
55[lib]
56name = "ngit"
57path = "src/lib/mod.rs"
58
55[[bin]] 59[[bin]]
56name = "ngit" 60name = "ngit"
57path = "src/main.rs" 61path = "src/bin/ngit/main.rs"
58 62
59[[bin]] 63[[bin]]
60name = "git-remote-nostr" 64name = "git-remote-nostr"
61path = "src/git_remote_helper.rs" 65path = "src/bin/git_remote_nostr/main.rs"