diff options
| author | DanConwayDev <DanConwayDev@protonmail.com> | 2025-11-04 10:44:51 +0000 |
|---|---|---|
| committer | DanConwayDev <DanConwayDev@protonmail.com> | 2025-11-04 10:44:51 +0000 |
| commit | 4d89f4537c325f60571cc6339df0708ee8161514 (patch) | |
| tree | 04f0b46cb9e05957f57f1e4cda5b38daedd34560 /Cargo.toml | |
| parent | 9394657613014891ff91db6cd0a01b21bb257053 (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.toml | 4 |
1 files changed, 4 insertions, 0 deletions
| @@ -45,6 +45,10 @@ thiserror = "1.0" | |||
| 45 | # Testing | 45 | # Testing |
| 46 | tokio-test = "0.4" | 46 | tokio-test = "0.4" |
| 47 | 47 | ||
| 48 | [lib] | ||
| 49 | name = "ngit_grasp" | ||
| 50 | path = "src/lib.rs" | ||
| 51 | |||
| 48 | [[bin]] | 52 | [[bin]] |
| 49 | name = "ngit-grasp" | 53 | name = "ngit-grasp" |
| 50 | path = "src/main.rs" | 54 | path = "src/main.rs" |