Skip to content

Commit

Permalink
fix(client): use rustls-tls-webpki-roots instead of rustls-tls-native…
Browse files Browse the repository at this point in the history
…-roots for speed (#61)
  • Loading branch information
everpcpc authored Apr 15, 2023
1 parent 1e0d167 commit c978e92
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 7 deletions.
4 changes: 2 additions & 2 deletions cli/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "bendsql"
version = "0.2.5"
version = "0.2.6"
edition = "2021"
license = "Apache-2.0"
description = "Databend Native Command Line Tool"
Expand All @@ -15,7 +15,7 @@ atty = "0.2.14"
clap = { version = "4.1.0", features = ["derive", "env"] }
comfy-table = "6.1.4"
csv = "1.2.1"
databend-driver = { path = "../driver", version = "0.2.8", features = ["rustls", "flight-sql"] }
databend-driver = { path = "../driver", version = "0.2.10", features = ["rustls", "flight-sql"] }
futures = { version = "0.3", default-features = false, features = ["alloc"] }
humantime-serde = "1.1.1"
indicatif = "0.17.3"
Expand Down
4 changes: 2 additions & 2 deletions core/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "databend-client"
version = "0.1.9"
version = "0.1.10"
edition = "2021"
license = "Apache-2.0"
description = "Databend Client for Rust"
Expand All @@ -12,7 +12,7 @@ repository = "https://github.com/datafuselabs/databend-client"
default = ["rustls"]

# Enable rustls for TLS support
rustls = ["reqwest/rustls-tls-native-roots"]
rustls = ["reqwest/rustls-tls"]
# Enable native-tls for TLS support
native-tls = ["reqwest/native-tls"]

Expand Down
6 changes: 3 additions & 3 deletions driver/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "databend-driver"
version = "0.2.9"
version = "0.2.10"
edition = "2021"
license = "Apache-2.0"
description = "Databend Driver for Rust"
Expand All @@ -21,7 +21,7 @@ flight-sql = ["dep:arrow", "dep:arrow-array", "dep:arrow-cast", "dep:arrow-fligh
[dependencies]
async-trait = "0.1.68"
chrono = { version = "0.4.24", default-features = false, features = ["clock"] }
databend-client = { version = "0.1.9", path = "../core" }
databend-client = { version = "0.1.10", path = "../core" }
dyn-clone = "1.0.11"
http = "0.2.9"
serde = { version = "1.0.156", default-features = false, features = ["derive"] }
Expand All @@ -39,7 +39,7 @@ tonic = { version = "0.9.1", default-features = false, features = [
"transport",
"codegen",
"tls",
"tls-roots",
"tls-webpki-roots",
"prost",
], optional = true }

Expand Down

0 comments on commit c978e92

Please sign in to comment.