| 1 | [package] |
| 2 | name = "ed-acp" |
| 3 | description = "Agent Client Protocol (ACP) v1 server for Onde agents: sessions, auth, the turn loop on Onde Cloud, tool approval, workspace tools and MCP. A product supplies a Profile." |
| 4 | keywords = ["acp", "agent", "llm", "onde", "mcp"] |
| 5 | categories = ["asynchronous", "development-tools"] |
| 6 | version.workspace = true |
| 7 | edition = "2024" |
| 8 | rust-version.workspace = true |
| 9 | license.workspace = true |
| 10 | authors.workspace = true |
| 11 | repository.workspace = true |
| 12 | homepage.workspace = true |
| 13 | |
| 14 | [features] |
| 15 | # On-device inference with onde (`<PREFIX>_PROVIDER=local`). Off by default: it builds |
| 16 | # mistral.rs and its model runtime, which a cloud-only agent doesn't need. |
| 17 | local = ["dep:onde"] |
| 18 | |
| 19 | [dependencies] |
| 20 | ed-mcp = { workspace = true, features = ["acp"] } |
| 21 | onde = { workspace = true, optional = true } |
| 22 | agent-client-protocol.workspace = true |
| 23 | async-trait.workspace = true |
| 24 | tokio = { workspace = true, features = ["full"] } |
| 25 | tokio-util.workspace = true |
| 26 | futures.workspace = true |
| 27 | serde.workspace = true |
| 28 | serde_json.workspace = true |
| 29 | anyhow.workspace = true |
| 30 | tracing.workspace = true |
| 31 | tracing-subscriber.workspace = true |
| 32 | uuid.workspace = true |
| 33 | directories.workspace = true |
| 34 | base64.workspace = true |
| 35 | |
| 36 | # reqwest 0.13's `rustls` feature is the aws-lc provider, whose C code doesn't build for |
| 37 | # arm64_32 (`aws-lc-sys` takes it for a 64-bit limb target), and `ring` asserts 64-bit |
| 38 | # pointers on aarch64. watchOS uses `native-tls`, which is Security.framework and needs no |
| 39 | # rustls provider at all. |
| 40 | [target.'cfg(not(target_os = "watchos"))'.dependencies] |
| 41 | reqwest = { workspace = true, features = ["rustls"] } |
| 42 | |
| 43 | [target.'cfg(target_os = "watchos")'.dependencies] |
| 44 | reqwest = { workspace = true, features = ["native-tls"] } |
| 45 | |
| 46 | [dev-dependencies] |
| 47 | tokio = { version = "1", features = ["full"] } |
| 48 | # Turn the `local` feature on for this crate's own tests. |
| 49 | ed-acp = { path = ".", features = ["local"] } |