diff options
| author | DanConwayDev <DanConwayDev@protonmail.com> | 2023-09-01 00:00:00 +0000 |
|---|---|---|
| committer | DanConwayDev <DanConwayDev@protonmail.com> | 2023-09-13 09:24:49 +0000 |
| commit | 6423baebd92e45c9be85157c443dff42e65d8d14 (patch) | |
| tree | 6548edfd80d0cd9d1267378ebe816ec95e394137 /Cargo.toml | |
| parent | 5c5feaa732363e32e2a980a887fa42b4394b1a5e (diff) | |
refactor: rebuild app skeleton
Create skeleton for a complete rebuild of the prototype as a production
ready product.
Includes design patterns for:
- dependency injection
- unit testing with dependency mocking
- integration testing
- error handling
- config storage
BREAKING-CHANGE: ground-up redesign with incompatible protocol standards
Diffstat (limited to 'Cargo.toml')
| -rw-r--r-- | Cargo.toml | 28 |
1 files changed, 16 insertions, 12 deletions
| @@ -2,7 +2,7 @@ | |||
| 2 | name = "ngit" | 2 | name = "ngit" |
| 3 | version = "0.0.1" | 3 | version = "0.0.1" |
| 4 | edition = "2021" | 4 | edition = "2021" |
| 5 | description = "a proof of concept cli for a nostr based github alternative" | 5 | description = "cli for code collaboration over nostr" |
| 6 | authors = ["DanConwayDev <DanConwayDev@protonmail.com>"] | 6 | authors = ["DanConwayDev <DanConwayDev@protonmail.com>"] |
| 7 | readme = "README.md" | 7 | readme = "README.md" |
| 8 | homepage = "https://github.com/DanConwayDev/ngit-cli" | 8 | homepage = "https://github.com/DanConwayDev/ngit-cli" |
| @@ -12,17 +12,21 @@ keywords = ["nostr", "git"] | |||
| 12 | categories = ["command-line-utilities","git"] | 12 | categories = ["command-line-utilities","git"] |
| 13 | 13 | ||
| 14 | [dependencies] | 14 | [dependencies] |
| 15 | clap = { version = "4.1.6", features = ["derive"] } | 15 | anyhow = "1.0.75" |
| 16 | nostr = { version = "0.21" } | 16 | clap = { version = "4.3.19", features = ["derive"] } |
| 17 | nostr-sdk = { version = "0.21", features = ["blocking"] } | ||
| 18 | serde = { version = "1.0.147", features = ["derive"] } | ||
| 19 | serde_json = "1.0.91" | ||
| 20 | dialoguer = "0.10.4" | 17 | dialoguer = "0.10.4" |
| 21 | indicatif = "0.17.3" | 18 | directories = "5.0.1" |
| 22 | thiserror = "1.0" | 19 | serde = { version = "1.0.181", features = ["derive"] } |
| 23 | confy = "0.5.1" | 20 | serde_json = "1.0.105" |
| 24 | git2 = "0.17.1" | ||
| 25 | 21 | ||
| 26 | [patch.crates-io] | 22 | [dev-dependencies] |
| 27 | nostr = { git = 'https://github.com/DanConwayDev/nostr.git', features = ["blocking"] } | 23 | assert_cmd = "2.0.12" |
| 24 | duplicate = "1.0.0" | ||
| 25 | mockall = "0.11.4" | ||
| 26 | serial_test = "2.0.0" | ||
| 27 | test_utils = { path = "test_utils" } | ||
| 28 | 28 | ||
| 29 | [workspace] | ||
| 30 | members = [ | ||
| 31 | "test_utils", | ||
| 32 | ] | ||