71 lines
1.8 KiB
TOML
71 lines
1.8 KiB
TOML
[package]
|
|
name = "dirigate"
|
|
version = "0.1.0"
|
|
edition = "2021"
|
|
description = "Dirigate - ACP bridge and mock server for testing and proxying ACP connections"
|
|
|
|
[lib]
|
|
path = "src/lib.rs"
|
|
|
|
[[bin]]
|
|
name = "dirigate"
|
|
path = "src/bin/dirigate.rs"
|
|
|
|
[dependencies]
|
|
# CLI
|
|
clap = { version = "4", features = ["derive", "env"] }
|
|
|
|
# Serialization
|
|
serde = { version = "1.0", features = ["derive"] }
|
|
serde_yaml = "0.9"
|
|
serde_json = "1.0"
|
|
|
|
# Async runtime
|
|
tokio = { version = "1", features = ["full"] }
|
|
tokio-stream = { version = "0.1", features = ["sync"] }
|
|
async-stream = "0.3"
|
|
|
|
# Web server
|
|
axum = "0.8"
|
|
|
|
# HTTP client (for bridge mode)
|
|
reqwest = { version = "0.12", features = ["json", "stream"] }
|
|
reqwest-eventsource = "0.6"
|
|
futures-util = "0.3"
|
|
|
|
# UUID generation
|
|
uuid = { version = "1.0", features = ["v4", "serde"] }
|
|
|
|
# Date/time handling
|
|
chrono = { version = "0.4", features = ["serde"] }
|
|
|
|
# Error handling
|
|
anyhow = "1.0"
|
|
thiserror = "1.0"
|
|
|
|
# Logging
|
|
tracing = "0.1"
|
|
tracing-subscriber = { version = "0.3", features = ["env-filter", "json"] }
|
|
|
|
# Random number generation
|
|
rand = "0.8"
|
|
rand_chacha = "0.3"
|
|
|
|
# CLI formatting
|
|
owo-colors = "4"
|
|
tabled = "0.16"
|
|
shell-words = "1.1"
|
|
|
|
# Internal dependencies
|
|
dirigent_protocol = { git = "https://git.g4b.org/dirigence/dirigent", path = "crates/dirigent_protocol" }
|
|
dirigent_core = { git = "https://git.g4b.org/dirigence/dirigent", path = "crates/dirigent_core", features = ["server"] }
|
|
dirigent_tools = { git = "https://git.g4b.org/dirigence/dirigent", path = "crates/dirigent_tools" }
|
|
opencode_client = { git = "https://git.g4b.org/dirigence/dirigent", path = "crates/opencode_client", optional = true }
|
|
|
|
[dev-dependencies]
|
|
dirigent_acp_api = { workspace = true }
|
|
|
|
[features]
|
|
default = []
|
|
ingest = ["dep:opencode_client"]
|