|
1 | | -[package] |
2 | | -name = "agent-client-protocol-schema" |
3 | | -authors = ["Zed <hi@zed.dev>"] |
4 | | -version = "0.13.7" |
5 | | -edition = "2024" |
6 | | -license = "Apache-2.0" |
7 | | -description = "A protocol for standardizing communication between code editors and AI coding agents" |
8 | | -repository = "https://github.com/agentclientprotocol/agent-client-protocol" |
9 | | -homepage = "https://github.com/agentclientprotocol/agent-client-protocol" |
10 | | -documentation = "https://docs.rs/agent-client-protocol-schema" |
11 | | -readme = "README.md" |
12 | | -keywords = ["agent", "client", "protocol", "ai", "editor"] |
13 | | -categories = ["development-tools", "api-bindings"] |
14 | | -include = ["/src/**/*.rs", "/README.md", "/LICENSE", "/Cargo.toml"] |
15 | | -rust-version = "1.88.0" |
16 | | - |
17 | 1 | [workspace] |
18 | | -default-members = [".", "schema/v1", "schema/v2", "schema-generator"] |
19 | | -members = ["schema/v1", "schema/v2", "schema-generator"] |
20 | | -resolver = "3" |
21 | | - |
22 | | -[package.metadata.docs.rs] |
23 | | -all-features = true |
24 | | -rustdoc-args = ["--cfg", "docsrs"] |
25 | | - |
26 | | -[lints] |
27 | | -workspace = true |
28 | | - |
29 | | -[features] |
30 | | -unstable = [ |
31 | | - "unstable_auth_methods", |
32 | | - "unstable_cancel_request", |
33 | | - "unstable_elicitation", |
34 | | - "unstable_llm_providers", |
35 | | - "unstable_mcp_over_acp", |
36 | | - "unstable_nes", |
37 | | - "unstable_plan_operations", |
38 | | - "unstable_session_fork", |
39 | | - "unstable_end_turn_token_usage", |
40 | | - "unstable_boolean_config", |
41 | | - "unstable_model_config_category", |
| 2 | +default-members = [ |
| 3 | + "agent-client-protocol-schema", |
| 4 | + "schema/v1", |
| 5 | + "schema/v2", |
| 6 | + "schema-generator", |
42 | 7 | ] |
43 | | -# Protocol v2 is intentionally NOT part of the `unstable` umbrella. |
44 | | -# It introduces a parallel `v2` module and (eventually) a different wire |
45 | | -# version, so it must be opted into explicitly to avoid silently |
46 | | -# changing `ProtocolVersion::LATEST` for `unstable` users. |
47 | | -unstable_protocol_v2 = [] |
48 | | -unstable_auth_methods = [] |
49 | | -unstable_cancel_request = [] |
50 | | -unstable_elicitation = [] |
51 | | -unstable_llm_providers = [] |
52 | | -unstable_mcp_over_acp = [] |
53 | | -unstable_nes = [] |
54 | | -unstable_plan_operations = [] |
55 | | -unstable_session_fork = [] |
56 | | -unstable_end_turn_token_usage = [] |
57 | | -unstable_boolean_config = [] |
58 | | -unstable_model_config_category = [] |
59 | | - |
60 | | -# Emit `tracing::warn!` events when `VecSkipError` drops a malformed list |
61 | | -# entry during deserialization. When disabled (the default), the inspector |
62 | | -# hook compiles down to serde_with's built-in no-op and has zero runtime cost. |
63 | | -tracing = ["dep:tracing"] |
64 | | - |
65 | | -[dependencies] |
66 | | -anyhow = "1" |
67 | | -derive_more = { version = "2", features = ["from", "display"] } |
68 | | -schemars = { version = "1" } |
69 | | -# `rc` is required for Arc-based protocol strings and RawValue payloads. |
70 | | -serde = { version = "1", features = ["derive", "rc"] } |
71 | | -# `raw_value` powers extension passthrough payloads; `preserve_order` keeps |
72 | | -# caller-supplied object key order in arbitrary JSON values and maps. |
73 | | -serde_json = { version = "1", features = ["preserve_order", "raw_value"] } |
74 | | -serde_with = { version = "3.20.0", features = ["json", "schemars_1"] } |
75 | | -strum = { version = "0.28", features = ["derive"] } |
76 | | -tracing = { version = "0.1", default-features = false, optional = true } |
| 8 | +members = [ |
| 9 | + "agent-client-protocol-schema", |
| 10 | + "schema/v1", |
| 11 | + "schema/v2", |
| 12 | + "schema-generator", |
| 13 | +] |
| 14 | +resolver = "3" |
77 | 15 |
|
78 | 16 | [workspace.lints.rust] |
79 | 17 | future_incompatible = { level = "warn", priority = -1 } |
|
0 commit comments