History

acp: Remove ACP v0 (#36785)

We had a few people confused about why some features weren't working due to the fallback logic. It's gone. Release Notes: - N/A

Conrad Irwin committed 1 year ago

Commit 5da31fd1 parent f48a8f25 files · +382 −72Browse files

Unified · Split

5 files
  1. Cargo.lock +9 −52
  2. Cargo.toml +0 −1
  3. crates/agent_servers/Cargo.toml +0 −1
  4. crates/agent_servers/src/acp.rs +373 −16
  5. tooling/workspace-hack/Cargo.toml +0 −2
Cargo.lock+9−52
@@ -289,7 +289,6 @@ dependencies = [ · 288 unmodified lines
289 "action_log",289 "action_log",
290 "agent-client-protocol",290 "agent-client-protocol",
291 "agent_settings",291 "agent_settings",
292 "agentic-coding-protocol",
293 "anyhow",292 "anyhow",
294 "client",293 "client",
295 "collections",294 "collections",
@@ -443,24 +442,6 @@ dependencies = [ · 147 unmodified lines
443 "zed_actions",442 "zed_actions",
444]443]
445 444
446[[package]]
447name = "agentic-coding-protocol"
448version = "0.0.10"
449source = "registry+https://github.com/rust-lang/crates.io-index"
450checksum = "a3e6ae951b36fa2f8d9dd6e1af6da2fcaba13d7c866cf6a9e65deda9dc6c5fe4"
451dependencies = [
452 "anyhow",
453 "chrono",
454 "derive_more 2.0.1",
455 "futures 0.3.31",
456 "log",
457 "parking_lot",
458 "schemars",
459 "semver",
460 "serde",
461 "serde_json",
462]
463
464[[package]]445[[package]]
465name = "ahash"446name = "ahash"
466version = "0.7.8"447version = "0.7.8"
@@ -876,7 +857,7 @@ dependencies = [ · 409 unmodified lines
876 "anyhow",857 "anyhow",
877 "async-trait",858 "async-trait",
878 "collections",859 "collections",
879 "derive_more 0.99.19",860 "derive_more",
880 "extension",861 "extension",
881 "futures 0.3.31",862 "futures 0.3.31",
882 "gpui",863 "gpui",
@@ -939,7 +920,7 @@ dependencies = [ · 56 unmodified lines
939 "clock",920 "clock",
940 "collections",921 "collections",
941 "ctor",922 "ctor",
942 "derive_more 0.99.19",923 "derive_more",
943 "gpui",924 "gpui",
944 "icons",925 "icons",
945 "indoc",926 "indoc",
@@ -976,7 +957,7 @@ dependencies = [ · 30 unmodified lines
976 "cloud_llm_client",957 "cloud_llm_client",
977 "collections",958 "collections",
978 "component",959 "component",
979 "derive_more 0.99.19",960 "derive_more",
980 "diffy",961 "diffy",
981 "editor",962 "editor",
982 "feature_flags",963 "feature_flags",
@@ -3089,7 +3070,7 @@ dependencies = [ · 2106 unmodified lines
3089 "cocoa 0.26.0",3070 "cocoa 0.26.0",
3090 "collections",3071 "collections",
3091 "credentials_provider",3072 "credentials_provider",
3092 "derive_more 0.99.19",3073 "derive_more",
3093 "feature_flags",3074 "feature_flags",
3094 "fs",3075 "fs",
3095 "futures 0.3.31",3076 "futures 0.3.31",
@@ -3521,7 +3502,7 @@ name = "command_palette_hooks" · 425 unmodified lines
3521version = "0.1.0"3502version = "0.1.0"
3522dependencies = [3503dependencies = [
3523 "collections",3504 "collections",
3524 "derive_more 0.99.19",3505 "derive_more",
3525 "gpui",3506 "gpui",
3526 "workspace-hack",3507 "workspace-hack",
3527]3508]
@@ -4684,27 +4665,6 @@ dependencies = [ · 1156 unmodified lines
4684 "syn 2.0.101",4665 "syn 2.0.101",
4685]4666]
4686 4667
4687[[package]]
4688name = "derive_more"
4689version = "2.0.1"
4690source = "registry+https://github.com/rust-lang/crates.io-index"
4691checksum = "093242cf7570c207c83073cf82f79706fe7b8317e98620a47d5be7c3d8497678"
4692dependencies = [
4693 "derive_more-impl",
4694]
4695
4696[[package]]
4697name = "derive_more-impl"
4698version = "2.0.1"
4699source = "registry+https://github.com/rust-lang/crates.io-index"
4700checksum = "bda628edc44c4bb645fbe0f758797143e4e07926f7ebf4e9bdfbd3d2ce621df3"
4701dependencies = [
4702 "proc-macro2",
4703 "quote",
4704 "syn 2.0.101",
4705 "unicode-xid",
4706]
4707
4708[[package]]4668[[package]]
4709name = "derive_refineable"4669name = "derive_refineable"
4710version = "0.1.0"4670version = "0.1.0"
@@ -6441,7 +6401,7 @@ dependencies = [ · 1730 unmodified lines
6441 "askpass",6401 "askpass",
6442 "async-trait",6402 "async-trait",
6443 "collections",6403 "collections",
6444 "derive_more 0.99.19",6404 "derive_more",
6445 "futures 0.3.31",6405 "futures 0.3.31",
6446 "git2",6406 "git2",
6447 "gpui",6407 "gpui",
@@ -7471,7 +7431,7 @@ dependencies = [ · 1023 unmodified lines
7471 "core-video",7431 "core-video",
7472 "cosmic-text",7432 "cosmic-text",
7473 "ctor",7433 "ctor",
7474 "derive_more 0.99.19",7434 "derive_more",
7475 "embed-resource",7435 "embed-resource",
7476 "env_logger 0.11.8",7436 "env_logger 0.11.8",
7477 "etagere",7437 "etagere",
@@ -7996,7 +7956,7 @@ version = "0.1.0" · 518 unmodified lines
7996dependencies = [7956dependencies = [
7997 "anyhow",7957 "anyhow",
7998 "bytes 1.10.1",7958 "bytes 1.10.1",
7999 "derive_more 0.99.19",7959 "derive_more",
8000 "futures 0.3.31",7960 "futures 0.3.31",
8001 "http 1.3.1",7961 "http 1.3.1",
8002 "http-body 1.0.1",7962 "http-body 1.0.1",
@@ -14399,12 +14359,10 @@ version = "1.0.1" · 6396 unmodified lines
14399source = "registry+https://github.com/rust-lang/crates.io-index"14359source = "registry+https://github.com/rust-lang/crates.io-index"
14400checksum = "fe8c9d1c68d67dd9f97ecbc6f932b60eb289c5dbddd8aa1405484a8fd2fcd984"14360checksum = "fe8c9d1c68d67dd9f97ecbc6f932b60eb289c5dbddd8aa1405484a8fd2fcd984"
14401dependencies = [14361dependencies = [
14402 "chrono",
14403 "dyn-clone",14362 "dyn-clone",
14404 "indexmap",14363 "indexmap",
14405 "ref-cast",14364 "ref-cast",
14406 "schemars_derive",14365 "schemars_derive",
14407 "semver",
14408 "serde",14366 "serde",
14409 "serde_json",14367 "serde_json",
14410]14368]
@@ -16488,7 +16446,7 @@ version = "0.1.0" · 2077 unmodified lines
16488dependencies = [16446dependencies = [
16489 "anyhow",16447 "anyhow",
16490 "collections",16448 "collections",
16491 "derive_more 0.99.19",16449 "derive_more",
16492 "fs",16450 "fs",
16493 "futures 0.3.31",16451 "futures 0.3.31",
16494 "gpui",16452 "gpui",
@@ -20003,7 +19961,6 @@ dependencies = [ · 3508 unmodified lines
20003 "rustix 1.0.7",19961 "rustix 1.0.7",
20004 "rustls 0.23.26",19962 "rustls 0.23.26",
20005 "rustls-webpki 0.103.1",19963 "rustls-webpki 0.103.1",
20006 "schemars",
20007 "scopeguard",19964 "scopeguard",
20008 "sea-orm",19965 "sea-orm",
20009 "sea-query-binder",19966 "sea-query-binder",
Cargo.toml+0−1
@@ -426,7 +426,6 @@ zlog_settings = { path = "crates/zlog_settings" } · 425 unmodified lines
426# External crates426# External crates
427#427#
428 428
429agentic-coding-protocol = "0.0.10"
430agent-client-protocol = "0.0.31"429agent-client-protocol = "0.0.31"
431aho-corasick = "1.1"430aho-corasick = "1.1"
432alacritty_terminal = { git = "https://github.com/zed-industries/alacritty.git", branch = "add-hush-login-flag" }431alacritty_terminal = { git = "https://github.com/zed-industries/alacritty.git", branch = "add-hush-login-flag" }
crates/agent_servers/Cargo.toml+0−1
@@ -22,7 +22,6 @@ acp_thread.workspace = true · 21 unmodified lines
22action_log.workspace = true22action_log.workspace = true
23agent-client-protocol.workspace = true23agent-client-protocol.workspace = true
24agent_settings.workspace = true24agent_settings.workspace = true
25agentic-coding-protocol.workspace = true
26anyhow.workspace = true25anyhow.workspace = true
27client = { workspace = true, optional = true }26client = { workspace = true, optional = true }
28collections.workspace = true27collections.workspace = true
crates/agent_servers/src/acp.rs+373−16
@@ -1,34 +1,391 @@
1use std::{path::Path, rc::Rc};
2
3use crate::AgentServerCommand;1use crate::AgentServerCommand;
4use acp_thread::AgentConnection;2use acp_thread::AgentConnection;
5use anyhow::Result;3use acp_tools::AcpConnectionRegistry;
6use gpui::AsyncApp;4use action_log::ActionLog;
5use agent_client_protocol::{self as acp, Agent as _, ErrorCode};
6use anyhow::anyhow;
7use collections::HashMap;
8use futures::AsyncBufReadExt as _;
9use futures::channel::oneshot;
10use futures::io::BufReader;
11use project::Project;
12use serde::Deserialize;
13use std::{any::Any, cell::RefCell};
14use std::{path::Path, rc::Rc};
7use thiserror::Error;15use thiserror::Error;
8 16
9mod v0;17use anyhow::{Context as _, Result};
10mod v1;18use gpui::{App, AppContext as _, AsyncApp, Entity, Task, WeakEntity};
19
20use acp_thread::{AcpThread, AuthRequired, LoadError};
11 21
12#[derive(Debug, Error)]22#[derive(Debug, Error)]
13#[error("Unsupported version")]23#[error("Unsupported version")]
14pub struct UnsupportedVersion;24pub struct UnsupportedVersion;
15 25
26pub struct AcpConnection {
27 server_name: &'static str,
28 connection: Rc<acp::ClientSideConnection>,
29 sessions: Rc<RefCell<HashMap<acp::SessionId, AcpSession>>>,
30 auth_methods: Vec<acp::AuthMethod>,
31 prompt_capabilities: acp::PromptCapabilities,
32 _io_task: Task<Result<()>>,
33}
34
35pub struct AcpSession {
36 thread: WeakEntity<AcpThread>,
37 suppress_abort_err: bool,
38}
39
16pub async fn connect(40pub async fn connect(
17 server_name: &'static str,41 server_name: &'static str,
18 command: AgentServerCommand,42 command: AgentServerCommand,
19 root_dir: &Path,43 root_dir: &Path,
20 cx: &mut AsyncApp,44 cx: &mut AsyncApp,
21) -> Result<Rc<dyn AgentConnection>> {45) -> Result<Rc<dyn AgentConnection>> {
22 let conn = v1::AcpConnection::stdio(server_name, command.clone(), root_dir, cx).await;46 let conn = AcpConnection::stdio(server_name, command.clone(), root_dir, cx).await?;
23 47 Ok(Rc::new(conn) as _)
24 match conn {48}
25 Ok(conn) => Ok(Rc::new(conn) as _),49
26 Err(err) if err.is::<UnsupportedVersion>() => {50const MINIMUM_SUPPORTED_VERSION: acp::ProtocolVersion = acp::V1;
27 // Consider re-using initialize response and subprocess when adding another version here51
28 let conn: Rc<dyn AgentConnection> =52impl AcpConnection {
29 Rc::new(v0::AcpConnection::stdio(server_name, command, root_dir, cx).await?);53 pub async fn stdio(
30 Ok(conn)54 server_name: &'static str,
55 command: AgentServerCommand,
56 root_dir: &Path,
57 cx: &mut AsyncApp,
58 ) -> Result<Self> {
59 let mut child = util::command::new_smol_command(&command.path)
60 .args(command.args.iter().map(|arg| arg.as_str()))
61 .envs(command.env.iter().flatten())
62 .current_dir(root_dir)
63 .stdin(std::process::Stdio::piped())
64 .stdout(std::process::Stdio::piped())
65 .stderr(std::process::Stdio::piped())
66 .kill_on_drop(true)
67 .spawn()?;
68
69 let stdout = child.stdout.take().context("Failed to take stdout")?;
70 let stdin = child.stdin.take().context("Failed to take stdin")?;
71 let stderr = child.stderr.take().context("Failed to take stderr")?;
72 log::trace!("Spawned (pid: {})", child.id());
73
74 let sessions = Rc::new(RefCell::new(HashMap::default()));
75
76 let client = ClientDelegate {
77 sessions: sessions.clone(),
78 cx: cx.clone(),
79 };
80 let (connection, io_task) = acp::ClientSideConnection::new(client, stdin, stdout, {
81 let foreground_executor = cx.foreground_executor().clone();
82 move |fut| {
83 foreground_executor.spawn(fut).detach();
84 }
85 });
86
87 let io_task = cx.background_spawn(io_task);
88
89 cx.background_spawn(async move {
90 let mut stderr = BufReader::new(stderr);
91 let mut line = String::new();
92 while let Ok(n) = stderr.read_line(&mut line).await
93 && n > 0
94 {
95 log::warn!("agent stderr: {}", &line);
96 line.clear();
97 }
98 })
99 .detach();
100
101 cx.spawn({
102 let sessions = sessions.clone();
103 async move |cx| {
104 let status = child.status().await?;
105
106 for session in sessions.borrow().values() {
107 session
108 .thread
109 .update(cx, |thread, cx| {
110 thread.emit_load_error(LoadError::Exited { status }, cx)
111 })
112 .ok();
113 }
114
115 anyhow::Ok(())
116 }
117 })
118 .detach();
119
120 let connection = Rc::new(connection);
121
122 cx.update(|cx| {
123 AcpConnectionRegistry::default_global(cx).update(cx, |registry, cx| {
124 registry.set_active_connection(server_name, &connection, cx)
125 });
126 })?;
127
128 let response = connection
129 .initialize(acp::InitializeRequest {
130 protocol_version: acp::VERSION,
131 client_capabilities: acp::ClientCapabilities {
132 fs: acp::FileSystemCapability {
133 read_text_file: true,
134 write_text_file: true,
135 },
136 },
137 })
138 .await?;
139
140 if response.protocol_version < MINIMUM_SUPPORTED_VERSION {
141 return Err(UnsupportedVersion.into());
142 }
143
144 Ok(Self {
145 auth_methods: response.auth_methods,
146 connection,
147 server_name,
148 sessions,
149 prompt_capabilities: response.agent_capabilities.prompt_capabilities,
150 _io_task: io_task,
151 })
152 }
153}
154
155impl AgentConnection for AcpConnection {
156 fn new_thread(
157 self: Rc<Self>,
158 project: Entity<Project>,
159 cwd: &Path,
160 cx: &mut App,
161 ) -> Task<Result<Entity<AcpThread>>> {
162 let conn = self.connection.clone();
163 let sessions = self.sessions.clone();
164 let cwd = cwd.to_path_buf();
165 cx.spawn(async move |cx| {
166 let response = conn
167 .new_session(acp::NewSessionRequest {
168 mcp_servers: vec![],
169 cwd,
170 })
171 .await
172 .map_err(|err| {
173 if err.code == acp::ErrorCode::AUTH_REQUIRED.code {
174 let mut error = AuthRequired::new();
175
176 if err.message != acp::ErrorCode::AUTH_REQUIRED.message {
177 error = error.with_description(err.message);
178 }
179
180 anyhow!(error)
181 } else {
182 anyhow!(err)
183 }
184 })?;
185
186 let session_id = response.session_id;
187 let action_log = cx.new(|_| ActionLog::new(project.clone()))?;
188 let thread = cx.new(|_cx| {
189 AcpThread::new(
190 self.server_name,
191 self.clone(),
192 project,
193 action_log,
194 session_id.clone(),
195 )
196 })?;
197
198 let session = AcpSession {
199 thread: thread.downgrade(),
200 suppress_abort_err: false,
201 };
202 sessions.borrow_mut().insert(session_id, session);
203
204 Ok(thread)
205 })
206 }
207
208 fn auth_methods(&self) -> &[acp::AuthMethod] {
209 &self.auth_methods
210 }
211
212 fn authenticate(&self, method_id: acp::AuthMethodId, cx: &mut App) -> Task<Result<()>> {
213 let conn = self.connection.clone();
214 cx.foreground_executor().spawn(async move {
215 let result = conn
216 .authenticate(acp::AuthenticateRequest {
217 method_id: method_id.clone(),
218 })
219 .await?;
220
221 Ok(result)
222 })
223 }
224
225 fn prompt(
226 &self,
227 _id: Option<acp_thread::UserMessageId>,
228 params: acp::PromptRequest,
229 cx: &mut App,
230 ) -> Task<Result<acp::PromptResponse>> {
231 let conn = self.connection.clone();
232 let sessions = self.sessions.clone();
233 let session_id = params.session_id.clone();
234 cx.foreground_executor().spawn(async move {
235 let result = conn.prompt(params).await;
236
237 let mut suppress_abort_err = false;
238
239 if let Some(session) = sessions.borrow_mut().get_mut(&session_id) {
240 suppress_abort_err = session.suppress_abort_err;
241 session.suppress_abort_err = false;
242 }
243
244 match result {
245 Ok(response) => Ok(response),
246 Err(err) => {
247 if err.code != ErrorCode::INTERNAL_ERROR.code {
248 anyhow::bail!(err)
249 }
250
251 let Some(data) = &err.data else {
252 anyhow::bail!(err)
253 };
254
255 // Temporary workaround until the following PR is generally available:
256 // https://github.com/google-gemini/gemini-cli/pull/6656
257
258 #[derive(Deserialize)]
259 #[serde(deny_unknown_fields)]
260 struct ErrorDetails {
261 details: Box<str>,
262 }
263
264 match serde_json::from_value(data.clone()) {
265 Ok(ErrorDetails { details }) => {
266 if suppress_abort_err && details.contains("This operation was aborted")
267 {
268 Ok(acp::PromptResponse {
269 stop_reason: acp::StopReason::Cancelled,
270 })
271 } else {
272 Err(anyhow!(details))
273 }
274 }
275 Err(_) => Err(anyhow!(err)),
276 }
277 }
278 }
279 })
280 }
281
282 fn prompt_capabilities(&self) -> acp::PromptCapabilities {
283 self.prompt_capabilities
284 }
285
286 fn cancel(&self, session_id: &acp::SessionId, cx: &mut App) {
287 if let Some(session) = self.sessions.borrow_mut().get_mut(session_id) {
288 session.suppress_abort_err = true;
31 }289 }
32 Err(err) => Err(err),290 let conn = self.connection.clone();
291 let params = acp::CancelNotification {
292 session_id: session_id.clone(),
293 };
294 cx.foreground_executor()
295 .spawn(async move { conn.cancel(params).await })
296 .detach();
297 }
298
299 fn into_any(self: Rc<Self>) -> Rc<dyn Any> {
300 self
301 }
302}
303
304struct ClientDelegate {
305 sessions: Rc<RefCell<HashMap<acp::SessionId, AcpSession>>>,
306 cx: AsyncApp,
307}
308
309impl acp::Client for ClientDelegate {
310 async fn request_permission(
311 &self,
312 arguments: acp::RequestPermissionRequest,
313 ) -> Result<acp::RequestPermissionResponse, acp::Error> {
314 let cx = &mut self.cx.clone();
315 let rx = self
316 .sessions
317 .borrow()
318 .get(&arguments.session_id)
319 .context("Failed to get session")?
320 .thread
321 .update(cx, |thread, cx| {
322 thread.request_tool_call_authorization(arguments.tool_call, arguments.options, cx)
323 })?;
324
325 let result = rx?.await;
326
327 let outcome = match result {
328 Ok(option) => acp::RequestPermissionOutcome::Selected { option_id: option },
329 Err(oneshot::Canceled) => acp::RequestPermissionOutcome::Cancelled,
330 };
331
332 Ok(acp::RequestPermissionResponse { outcome })
333 }
334
335 async fn write_text_file(
336 &self,
337 arguments: acp::WriteTextFileRequest,
338 ) -> Result<(), acp::Error> {
339 let cx = &mut self.cx.clone();
340 let task = self
341 .sessions
342 .borrow()
343 .get(&arguments.session_id)
344 .context("Failed to get session")?
345 .thread
346 .update(cx, |thread, cx| {
347 thread.write_text_file(arguments.path, arguments.content, cx)
348 })?;
349
350 task.await?;
351
352 Ok(())
353 }
354
355 async fn read_text_file(
356 &self,
357 arguments: acp::ReadTextFileRequest,
358 ) -> Result<acp::ReadTextFileResponse, acp::Error> {
359 let cx = &mut self.cx.clone();
360 let task = self
361 .sessions
362 .borrow()
363 .get(&arguments.session_id)
364 .context("Failed to get session")?
365 .thread
366 .update(cx, |thread, cx| {
367 thread.read_text_file(arguments.path, arguments.line, arguments.limit, false, cx)
368 })?;
369
370 let content = task.await?;
371
372 Ok(acp::ReadTextFileResponse { content })
373 }
374
375 async fn session_notification(
376 &self,
377 notification: acp::SessionNotification,
378 ) -> Result<(), acp::Error> {
379 let cx = &mut self.cx.clone();
380 let sessions = self.sessions.borrow();
381 let session = sessions
382 .get(&notification.session_id)
383 .context("Failed to get session")?;
384
385 session.thread.update(cx, |thread, cx| {
386 thread.handle_session_update(notification.update, cx)
387 })??;
388
389 Ok(())
33 }390 }
34}391}
tooling/workspace-hack/Cargo.toml+0−2
@@ -109,7 +109,6 @@ rustc-hash = { version = "1" } · 108 unmodified lines
109rustix-d585fab2519d2d1 = { package = "rustix", version = "0.38", default-features = false, features = ["fs", "net", "std"] }109rustix-d585fab2519d2d1 = { package = "rustix", version = "0.38", default-features = false, features = ["fs", "net", "std"] }
110rustls = { version = "0.23", features = ["ring"] }110rustls = { version = "0.23", features = ["ring"] }
111rustls-webpki = { version = "0.103", default-features = false, features = ["aws-lc-rs", "ring", "std"] }111rustls-webpki = { version = "0.103", default-features = false, features = ["aws-lc-rs", "ring", "std"] }
112schemars = { version = "1", features = ["chrono04", "indexmap2", "semver1"] }
113sea-orm = { version = "1", features = ["runtime-tokio-rustls", "sqlx-postgres", "sqlx-sqlite"] }112sea-orm = { version = "1", features = ["runtime-tokio-rustls", "sqlx-postgres", "sqlx-sqlite"] }
114sea-query-binder = { version = "0.7", default-features = false, features = ["postgres-array", "sqlx-postgres", "sqlx-sqlite", "with-bigdecimal", "with-chrono", "with-json", "with-rust_decimal", "with-time", "with-uuid"] }113sea-query-binder = { version = "0.7", default-features = false, features = ["postgres-array", "sqlx-postgres", "sqlx-sqlite", "with-bigdecimal", "with-chrono", "with-json", "with-rust_decimal", "with-time", "with-uuid"] }
115semver = { version = "1", features = ["serde"] }114semver = { version = "1", features = ["serde"] }
@@ -244,7 +243,6 @@ rustc-hash = { version = "1" } · 128 unmodified lines
244rustix-d585fab2519d2d1 = { package = "rustix", version = "0.38", default-features = false, features = ["fs", "net", "std"] }243rustix-d585fab2519d2d1 = { package = "rustix", version = "0.38", default-features = false, features = ["fs", "net", "std"] }
245rustls = { version = "0.23", features = ["ring"] }244rustls = { version = "0.23", features = ["ring"] }
246rustls-webpki = { version = "0.103", default-features = false, features = ["aws-lc-rs", "ring", "std"] }245rustls-webpki = { version = "0.103", default-features = false, features = ["aws-lc-rs", "ring", "std"] }
247schemars = { version = "1", features = ["chrono04", "indexmap2", "semver1"] }
248sea-orm = { version = "1", features = ["runtime-tokio-rustls", "sqlx-postgres", "sqlx-sqlite"] }246sea-orm = { version = "1", features = ["runtime-tokio-rustls", "sqlx-postgres", "sqlx-sqlite"] }
249sea-query-binder = { version = "0.7", default-features = false, features = ["postgres-array", "sqlx-postgres", "sqlx-sqlite", "with-bigdecimal", "with-chrono", "with-json", "with-rust_decimal", "with-time", "with-uuid"] }247sea-query-binder = { version = "0.7", default-features = false, features = ["postgres-array", "sqlx-postgres", "sqlx-sqlite", "with-bigdecimal", "with-chrono", "with-json", "with-rust_decimal", "with-time", "with-uuid"] }
250semver = { version = "1", features = ["serde"] }248semver = { version = "1", features = ["serde"] }