diff options
| author | DanConwayDev <DanConwayDev@protonmail.com> | 2024-09-04 08:04:48 +0100 |
|---|---|---|
| committer | DanConwayDev <DanConwayDev@protonmail.com> | 2024-09-04 13:30:59 +0100 |
| commit | 949c6459aa7683453a7160423b689ceadb08954b (patch) | |
| tree | 230c26ecb11b99916e5570e548673eb09ecf0a36 /Cargo.toml | |
| parent | a825311f2c55661aaab3a163bda9109295c96044 (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.toml | 8 |
1 files changed, 6 insertions, 2 deletions
| @@ -52,10 +52,14 @@ members = [ | |||
| 52 | "test_utils", | 52 | "test_utils", |
| 53 | ] | 53 | ] |
| 54 | 54 | ||
| 55 | [lib] | ||
| 56 | name = "ngit" | ||
| 57 | path = "src/lib/mod.rs" | ||
| 58 | |||
| 55 | [[bin]] | 59 | [[bin]] |
| 56 | name = "ngit" | 60 | name = "ngit" |
| 57 | path = "src/main.rs" | 61 | path = "src/bin/ngit/main.rs" |
| 58 | 62 | ||
| 59 | [[bin]] | 63 | [[bin]] |
| 60 | name = "git-remote-nostr" | 64 | name = "git-remote-nostr" |
| 61 | path = "src/git_remote_helper.rs" | 65 | path = "src/bin/git_remote_nostr/main.rs" |