diff --git a/Cargo.toml b/Cargo.toml index 5255c263..3a9a37b0 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -137,7 +137,7 @@ rusqlite = { version = "0.40.0", features = ["column_decltype"] } rustls-pemfile = "2.0" ## webpki-roots has mozilla's set of roots ## rustls-native-certs loads roots from current system -gluesql = { version = "0.19", default-features = false, features = [ +gluesql = { version = "0.20", default-features = false, features = [ "gluesql_memory_storage", ] } diff --git a/examples/gluesql.rs b/examples/gluesql.rs index 739bb1e5..8388e5c0 100644 --- a/examples/gluesql.rs +++ b/examples/gluesql.rs @@ -24,7 +24,7 @@ impl SimpleQueryHandler for GluesqlProcessor { { println!("{:?}", query); let mut glue = self.glue.lock().unwrap(); - futures::executor::block_on(glue.execute(query)) + glue.execute(query) .map_err(|err| PgWireError::ApiError(Box::new(err))) .and_then(|payloads| { payloads