1
0
Fork 0
mirror of https://gitlab.alpinelinux.org/alpine/aports.git synced 2025-07-22 02:35:23 +03:00
aports/community/atuin/use-system-tls.patch
2022-11-19 00:25:34 +00:00

27 lines
771 B
Diff

From: Jakub Jirutka <jakub@jirutka.cz>
Date: Fri, 13 May 2022 01:42:00 +0200
Subject: [PATCH] Build with system OpenSSL instead of bundled rusttls
--- a/atuin-client/Cargo.toml
+++ b/atuin-client/Cargo.toml
@@ -41,5 +41,5 @@
shellexpand = "2"
sqlx = { version = "0.6", features = [
- "runtime-tokio-rustls",
+ "runtime-tokio-native-tls",
"chrono",
"sqlite",
@@ -57,5 +57,5 @@
reqwest = { version = "0.11", features = [
"json",
- "rustls-tls-native-roots",
+ "default-tls",
], default-features = false, optional = true }
hex = { version = "0.4", optional = true }
--- a/atuin-server/Cargo.toml
+++ b/atuin-server/Cargo.toml
@@ -26,3 +26,3 @@
sqlx = { version = "0.6", features = [
- "runtime-tokio-rustls",
+ "runtime-tokio-native-tls",
"chrono",