Skip to content

Commit 05dc7a1

Browse files
committed
wip: move dashboard and cli into sub-crates
This change reduces the number of dependencies in the neptune-core crate. The logical structure becomes: neptune-core ├── Cargo.lock ├── Cargo.toml ├── cli │   ├── Cargo.lock │   ├── Cargo.toml │   └── src │   └── main.rs ├── dashboard │   ├── Cargo.lock │   ├── Cargo.toml │   └── src │   └── main.rs └── src ├── lib.rs └── main.rs
1 parent 3b5c735 commit 05dc7a1

18 files changed

+6787
-344
lines changed

Cargo.lock

Lines changed: 9 additions & 302 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Cargo.toml

Lines changed: 2 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -71,9 +71,7 @@ bytes = "1.8"
7171
bytesize = "1.3"
7272
chrono = "=0.4.34"
7373
clap = { version = "4.5", features = ["derive"] }
74-
clap_complete = "4.5"
7574
console-subscriber = { version = "0.2", optional = true}
76-
crossterm = "0.27"
7775
directories = "5.0"
7876
field_count = "0.1"
7977
futures = "0.3"
@@ -87,7 +85,6 @@ priority-queue = "1.4"
8785
proptest = { version = "1.5", optional = true }
8886
proptest-arbitrary-interop = { version = "0.1", optional = true }
8987
rand = "0.9"
90-
ratatui = "0.29"
9188
regex = "1.11.0"
9289
semver = "^1.0.23"
9390
serde = { version = "1.0", features = ["derive"] }
@@ -116,7 +113,6 @@ leveldb-sys = "2.0.9"
116113
async-trait = "0.1.83"
117114
async-stream = "0.3.6"
118115
sha3 = "0.10.8"
119-
rand_distr = "0.4.3"
120116
readonly = "0.2.12"
121117
thiserror = "1.0.65"
122118
systemstat = "0.2.3"
@@ -132,13 +128,13 @@ rayon = "1.10"
132128

133129
arbitrary = { version = "1.3", features = ["derive"] }
134130
assert2 = "0.3"
135-
blake3 = "1.5.4"
131+
#blake3 = "1.5.4"
136132
clienter = "0.1.1"
137133
divan = "0.1.14"
138134
pin-project-lite = "0.2.14"
135+
rand_distr = "0.4.3"
139136
proptest = { version = "1.5" }
140137
proptest-arbitrary-interop = { version = "0.1" }
141-
rand_distr = "0.4.3"
142138
rayon = "1.10"
143139
test-strategy = "0.3"
144140
tokio-test = "0.4"
@@ -203,12 +199,6 @@ lto = "thin"
203199
name = "neptune-core"
204200
path = "src/main.rs"
205201

206-
[[bin]]
207-
name = "neptune-dashboard"
208-
209-
[[bin]]
210-
name = "neptune-cli"
211-
212202
## We use harness = false on these so that the divan reports are output on stdout.
213203

214204
[[bench]]

0 commit comments

Comments
 (0)