nekolas note

毎日書くことを目指しているけど全然達成できてないブログ

1.2 KB Raw
# ネイティブ補助プロセス(LSP + MCP "ide" WebSocket サーバ)(T003)。
# Zed から language_server_command として起動される。
[package]
name = "cc-ide-server"
version = "0.1.0"
edition = "2021"
publish = false
license = "MIT"

[[bin]]
name = "cc-ide-server"
path = "src/main.rs"

[dependencies]
# 非同期ランタイム(LSP stdio と WebSocket を同居させる)
tokio = { version = "1", features = ["rt-multi-thread", "macros", "io-std", "io-util", "net", "sync", "time", "process"] }
# WebSocket(MCP "ide" トランスポート)
tokio-tungstenite = "0.24"
futures-util = "0.3"
# JSON-RPC / MCP / LSP メッセージの直列化
serde = { version = "1", features = ["derive"] }
serde_json = "1"
# エラーハンドリング / ロギング
anyhow = "1"
tracing = "0.1"
tracing-subscriber = { version = "0.3", features = ["env-filter"] }
# 認証トークン生成(ロックファイル authToken)
uuid = { version = "1", features = ["v4"] }
# ホームディレクトリ解決(~/.claude/ide/)
dirs = "5"
# ポート選択の乱数
rand = "0.8"

[dev-dependencies]
tokio = { version = "1", features = ["rt", "macros", "test-util"] }