Code at the speed of thought – Zed is a high-performance, multiplayer code editor from the creators of Atom and Tree-sitter.
Bump jupyter-websocket-client to 1.1.0 (#54442)
MostlyK9e18c6a6a183
diff --git a/Cargo.lock b/Cargo.lockindex 553c936cd0a..d76f07aeef8 100644--- a/Cargo.lock+++ b/Cargo.lock@@ -1972,7 +1972,7 @@ dependencies = ["bitflags 2.10.0","cexpr","clang-sys",- "itertools 0.10.5",+ "itertools 0.11.0","log","prettyplease","proc-macro2",@@ -1992,7 +1992,7 @@ dependencies = ["bitflags 2.10.0","cexpr","clang-sys",- "itertools 0.10.5",+ "itertools 0.11.0","proc-macro2","quote","regex",@@ -8788,7 +8788,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index"checksum = "4b0f83760fb341a774ed326568e19f5a863af4a952def8c39f9ab92fd95b88e5"dependencies = ["equivalent",- "hashbrown 0.15.5",+ "hashbrown 0.16.1","serde","serde_core",]@@ -9264,13 +9264,14 @@ dependencies = [[[package]]name = "jupyter-websocket-client"-version = "1.0.0"+version = "1.1.0"source = "registry+https://github.com/rust-lang/crates.io-index"-checksum = "1ef5a543b517583059b5b11daceb37690d6ac206f9321075993cd82ab1541c28"+checksum = "7c2ae4d8d5344f69bf9734b264e969c2139e30e932ce9b6455de9f65663ed614"dependencies = ["anyhow","async-trait","async-tungstenite",+ "bytes 1.11.1","futures 0.3.32","jupyter-protocol","serde",@@ -13642,8 +13643,8 @@ source = "registry+https://github.com/rust-lang/crates.io-index"checksum = "22505a5c94da8e3b7c2996394d1c933236c4d743e81a410bcca4e6989fc066a4"dependencies = ["bytes 1.11.1",- "heck 0.4.1",- "itertools 0.10.5",+ "heck 0.5.0",+ "itertools 0.11.0","log","multimap","once_cell",@@ -13676,7 +13677,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index"checksum = "81bddcdb20abf9501610992b6759a4c888aef7d1a7247ef75e2404275ac24af1"dependencies = ["anyhow",- "itertools 0.10.5",+ "itertools 0.11.0","proc-macro2","quote","syn 2.0.117",@@ -16376,7 +16377,7 @@ version = "0.8.9"source = "registry+https://github.com/rust-lang/crates.io-index"checksum = "c1c97747dbf44bb1ca44a561ece23508e99cb592e862f22222dcf42f51d1e451"dependencies = [- "heck 0.4.1",+ "heck 0.5.0","proc-macro2","quote","syn 2.0.117",diff --git a/Cargo.toml b/Cargo.tomlindex 514226cdc3b..1d96615ebfe 100644--- a/Cargo.toml+++ b/Cargo.toml@@ -606,7 +606,7 @@ json_dotpath = "1.1"jsonschema = "0.37.0"jsonwebtoken = "10.0"jupyter-protocol = "1.4.0"-jupyter-websocket-client = "1.0.0"+jupyter-websocket-client = "1.1.0"libc = "0.2"libsqlite3-sys = { version = "0.30.1", features = ["bundled"] }linkify = "0.10.0"diff --git a/crates/repl/src/kernels/remote_kernels.rs b/crates/repl/src/kernels/remote_kernels.rsindex 8315f95833c..69a41e85acc 100644--- a/crates/repl/src/kernels/remote_kernels.rs+++ b/crates/repl/src/kernels/remote_kernels.rs@@ -13,7 +13,7 @@ use super::{KernelSession, RunningKernel};use anyhow::Result;use jupyter_websocket_client::{JupyterWebSocket, JupyterWebSocketReader, JupyterWebSocketWriter, KernelLaunchRequest,- KernelSpecsResponse, RemoteServer,+ KernelSpecsResponse, ProtocolMode, RemoteServer,};use std::{fmt::Debug, sync::Arc};@@ -173,8 +173,10 @@ impl RemoteRunningKernel {let (ws_stream, _response) = response?;- let kernel_socket = JupyterWebSocket { inner: ws_stream };-+ let kernel_socket = JupyterWebSocket {+ inner: ws_stream,+ protocol_mode: ProtocolMode::Json,+ };let (mut w, mut r): (JupyterWebSocketWriter, JupyterWebSocketReader) =kernel_socket.split();