[package] name = "buzz-dev-mcp" version.workspace = true edition.workspace = true rust-version.workspace = true license.workspace = true [lib] name = "buzz_dev_mcp" path = "src/lib.rs" [[bin]] name = "buzz-dev-mcp" path = "src/main.rs" [dependencies] buzz-cli = { path = "../buzz-cli" } git-credential-nostr = { path = "../git-credential-nostr" } git-sign-nostr = { path = "../git-sign-nostr" } nostr = { workspace = true } zeroize = { workspace = true } tokio = { workspace = true } tokio-util = { workspace = true } serde = { workspace = true } serde_json = { workspace = true } rmcp = { workspace = true } schemars = { workspace = true } similar = "3" tempfile = "3" ignore = "0.4.25" tracing = { workspace = true } tracing-subscriber = { workspace = true } # wss:// tool calls use rustls via tokio-tungstenite/reqwest. The workspace # pulls both ring and aws-lc-rs transitively, so install ring explicitly. rustls = { version = "0.23", default-features = false, features = ["ring", "std"] } # view_image tool: HTTP fetch (workspace reqwest is already used by buzz-cli; # adding it here is essentially free), base64 encoding, and decode/resize. reqwest = { workspace = true } base64 = "0.22" image = { version = "0.25", default-features = false, features = ["jpeg", "png", "gif", "webp"] } buzz-core = { workspace = true } [target.'cfg(unix)'.dependencies] nix = { version = "0.31", default-features = false, features = ["signal", "process"] } # Windows Job Object APIs for the shell tool's timeout kill path: terminating a # job kills the bash child AND every MSYS grandchild it forked, the Windows # analogue of the Unix killpg above. windows-sys 0.61 is already workspace- # resident (pulled transitively), so this adds no new crate. Win32_Security is # required because CreateJobObjectW takes a SECURITY_ATTRIBUTES parameter; # Win32_System_Threading supplies IO_COUNTERS inside the extended-limit struct. [target.'cfg(windows)'.dependencies] windows-sys = { version = "0.61", features = ["Win32_Foundation", "Win32_Security", "Win32_System_JobObjects", "Win32_System_Registry", "Win32_System_Threading"] }