|
1
|
[workspace] |
|
2
|
resolver = "2" |
|
3
|
members = ["crates/cli", "crates/sigit-si-api"] |
|
4
|
|
|
5
|
# The workspace exists for one reason: `sigit-si-api` is a standalone, typed |
|
6
|
# client for the sigit.si JSON API that other Rust programs can depend on |
|
7
|
# without pulling in clap, dialoguer, and the rest of the terminal surface. |
|
8
|
# `cli` is the thin `si` binary on top of it. |
|
9
|
[workspace.package] |
|
10
|
version = "1.2.0" |
|
11
|
edition = "2021" |
|
12
|
authors = ["Seto Elkahfi <seto@sigit.si>"] |
|
13
|
license = "Apache-2.0" |
|
14
|
repository = "https://github.com/getsigit/si" |
|
15
|
homepage = "https://sigit.si" |
|
16
|
|
|
17
|
[workspace.dependencies] |
|
18
|
anyhow = "1.0" |
|
19
|
chrono = { version = "0.4", features = ["serde"] } |
|
20
|
clap = { version = "4.5", features = ["derive", "env"] } |
|
21
|
console = "0.15" |
|
22
|
dialoguer = "0.11" |
|
23
|
dirs = "6.0" |
|
24
|
git2 = { version = "0.20", default-features = false } |
|
25
|
open = "5.3" |
|
26
|
reqwest = { version = "0.12", default-features = false, features = ["json"] } |
|
27
|
rmcp = { version = "3.2", features = [ |
|
28
|
"server", |
|
29
|
"macros", |
|
30
|
"transport-io", |
|
31
|
"schemars", |
|
32
|
] } |
|
33
|
schemars = "1" |
|
34
|
serde = { version = "1", features = ["derive"] } |
|
35
|
serde_json = "1" |
|
36
|
sigit-si-api = { version = "1.2.0", path = "crates/sigit-si-api" } |
|
37
|
tabled = { version = "0.20", default-features = false, features = ["std"] } |
|
38
|
thiserror = "2.0" |
|
39
|
# `io-std` is what the MCP stdio transport binds to. |
|
40
|
tokio = { version = "1", features = ["macros", "rt-multi-thread", "io-std"] } |
|
41
|
tracing = "0.1" |
|
42
|
tracing-subscriber = { version = "0.3", features = ["env-filter"] } |
|
43
|
|
|
44
|
[profile.release] |
|
45
|
lto = "thin" |
|
46
|
codegen-units = 1 |
|
47
|
strip = true |