| 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 the desktop app (sigit-app) can depend |
| 7 | # on 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.1.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 = [ |
| 27 | "json", |
| 28 | "rustls-tls-native-roots", |
| 29 | ] } |
| 30 | rmcp = { version = "3.2", features = [ |
| 31 | "server", |
| 32 | "macros", |
| 33 | "transport-io", |
| 34 | "schemars", |
| 35 | ] } |
| 36 | schemars = "1" |
| 37 | serde = { version = "1", features = ["derive"] } |
| 38 | serde_json = "1" |
| 39 | sigit-si-api = { version = "1.1.0", path = "crates/sigit-si-api" } |
| 40 | tabled = { version = "0.20", default-features = false, features = ["std"] } |
| 41 | thiserror = "2.0" |
| 42 | # `io-std` is what the MCP stdio transport binds to. |
| 43 | tokio = { version = "1", features = ["macros", "rt-multi-thread", "io-std"] } |
| 44 | tracing = "0.1" |
| 45 | tracing-subscriber = { version = "0.3", features = ["env-filter"] } |
| 46 | |
| 47 | [profile.release] |
| 48 | lto = "thin" |
| 49 | codegen-units = 1 |
| 50 | strip = true |