Skip to content

Commit 8dd0659

Browse files
Merge pull request #11 from thunderstore-io/server
[TS-2073] Server implementation for tooling interop
2 parents 189a470 + 55c2648 commit 8dd0659

37 files changed

+1145
-381
lines changed

Cargo.lock

+33-79
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Cargo.toml

+8-1
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,11 @@ indicatif = { version = "0.17.8", features = ["improved_unicode", "tokio"] }
1919
# async runtime and helpers
2020
futures = "0.3"
2121
futures-util = "0.3"
22-
tokio = { version = "1.34", features = ["macros", "process", "rt-multi-thread"]}
22+
tokio = { version = "1.34", features = [
23+
"macros",
24+
"process",
25+
"rt-multi-thread",
26+
] }
2327
tokio-util = { version = "0.7", features = ["io"] }
2428
async-compression = { version = "0.4", features = ["futures-io", "gzip"] }
2529

@@ -45,3 +49,6 @@ log = "0.4.21"
4549

4650
[target.'cfg(windows)'.dependencies]
4751
winreg = "0.50"
52+
53+
[dev-dependencies]
54+
tempfile = "3.10"

src/cli.rs

+6
Original file line numberDiff line numberDiff line change
@@ -257,4 +257,10 @@ pub enum Commands {
257257

258258
/// Update the tcli ecosystem schema.
259259
UpdateSchema,
260+
261+
/// Start the tcli server.
262+
Server {
263+
#[clap(long, default_value = "./")]
264+
project_path: PathBuf,
265+
},
260266
}

0 commit comments

Comments
 (0)