Skip to content

Commit

Permalink
chore: bump Rust DuckDB server to 0.2
Browse files Browse the repository at this point in the history
  • Loading branch information
domoritz committed Jan 7, 2025
1 parent f206f7c commit 0850b1e
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 3 deletions.
2 changes: 1 addition & 1 deletion packages/duckdb-server-rust/Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion packages/duckdb-server-rust/Cargo.toml
Original file line number Diff line number Diff line change
@@ -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."
Expand Down
4 changes: 3 additions & 1 deletion packages/duckdb-server-rust/src/websocket.rs
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,9 @@ pub async fn handle(mut socket: WebSocket, state: Arc<AppState>) {
QueryResponse::Response(_) => {
socket
.send(Message::Text(
json!({"error": "Unknown response Type"}).to_string().into(),
json!({"error": "Unknown response Type"})
.to_string()
.into(),
))
.await
}
Expand Down

0 comments on commit 0850b1e

Please sign in to comment.