From 107a5557df6336933f6b0bcf330aa91fe6ca866a Mon Sep 17 00:00:00 2001 From: Laurent Querel Date: Sun, 7 Jul 2024 19:10:34 -0700 Subject: [PATCH] feat(insert_all): Add GZIP support for the insert_all method. --- CHANGELOG.md | 2 ++ Cargo.toml | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index c9eeb7f..8d88fbb 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -9,6 +9,8 @@ All notable changes to this project will be documented in this file. - Add partial support for BigQuery Storage Write API (by @imor). - append_rows - get_write_stream +- Add GZIP support for `insert_all` (by @Deniskore). The `gzip` feature is included by default. + See https://github.com/lquerel/gcp-bigquery-client/issues/74 for more information. Breaking changes: - Client::from_authenticator is now async. diff --git a/Cargo.toml b/Cargo.toml index 9ba6e5d..c36923a 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -16,7 +16,7 @@ keywords = ["gcp", "bigquery", "google-cloud"] categories = ["database"] [features] -default = ["rust-tls", "ring"] +default = ["rust-tls", "ring", "gzip"] native-tls = ["reqwest/native-tls"] rust-tls = ["reqwest/rustls-tls"] ring = ["yup-oauth2/ring"]