From 0850b1eb47672e1499a6bb22268534aa3c14d645 Mon Sep 17 00:00:00 2001 From: Dominik Moritz Date: Tue, 7 Jan 2025 16:35:14 -0500 Subject: [PATCH] chore: bump Rust DuckDB server to 0.2 --- packages/duckdb-server-rust/Cargo.lock | 2 +- packages/duckdb-server-rust/Cargo.toml | 2 +- packages/duckdb-server-rust/src/websocket.rs | 4 +++- 3 files changed, 5 insertions(+), 3 deletions(-) diff --git a/packages/duckdb-server-rust/Cargo.lock b/packages/duckdb-server-rust/Cargo.lock index d164f575..1bf5184e 100644 --- a/packages/duckdb-server-rust/Cargo.lock +++ b/packages/duckdb-server-rust/Cargo.lock @@ -1072,7 +1072,7 @@ dependencies = [ [[package]] name = "duckdb-server" -version = "0.1.2" +version = "0.2.0" dependencies = [ "anyhow", "arrow", diff --git a/packages/duckdb-server-rust/Cargo.toml b/packages/duckdb-server-rust/Cargo.toml index 83bc69d7..9af60a0f 100644 --- a/packages/duckdb-server-rust/Cargo.toml +++ b/packages/duckdb-server-rust/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "duckdb-server" -version = "0.1.2" +version = "0.2.0" edition = "2021" repository = "https://github.com/uwdata/mosaic" description = "DuckDB Server for Mosaic." diff --git a/packages/duckdb-server-rust/src/websocket.rs b/packages/duckdb-server-rust/src/websocket.rs index 2eafe571..521f5427 100644 --- a/packages/duckdb-server-rust/src/websocket.rs +++ b/packages/duckdb-server-rust/src/websocket.rs @@ -45,7 +45,9 @@ pub async fn handle(mut socket: WebSocket, state: Arc) { QueryResponse::Response(_) => { socket .send(Message::Text( - json!({"error": "Unknown response Type"}).to_string().into(), + json!({"error": "Unknown response Type"}) + .to_string() + .into(), )) .await }