From 09ce0be9abff5bb87d0be4ffca448c4b21de1d31 Mon Sep 17 00:00:00 2001 From: zephyr Date: Sat, 9 Aug 2025 16:36:35 +0900 Subject: [PATCH] introduce tls backend build flags --- Cargo.lock | 5 +++-- Cargo.toml | 1 + realm_core/Cargo.toml | 1 + 3 files changed, 5 insertions(+), 2 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index 53beab3..6c93aba 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -969,9 +969,9 @@ dependencies = [ [[package]] name = "kaminari" -version = "0.13.2" +version = "0.13.3" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b65e038788041d43f59c28a5675fe6a619a613901b694ea1d6c9c4a2f695f979" +checksum = "666c8029950f97555b7a442951494a363a90008719f690822c5d5d8f9c029fba" dependencies = [ "aws-lc-rs", "lazy_static", @@ -1593,6 +1593,7 @@ dependencies = [ "aws-lc-rs", "log", "once_cell", + "ring", "rustls-pki-types", "rustls-webpki", "subtle", diff --git a/Cargo.toml b/Cargo.toml index f6efb63..2c9876e 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -67,6 +67,7 @@ proxy = ["realm_core/proxy"] brutal-shutdown = ["realm_core/brutal-shutdown"] balance = ["realm_core/balance"] transport = ["realm_core/transport", "realm_core/transport-boost"] +transport-tls-ring = ["realm_core/transport-tls-ring"] batched-udp = ["realm_core/batched-udp"] multi-thread = ["tokio/rt-multi-thread", "realm_core/multi-thread"] jemalloc = ["jemallocator"] diff --git a/realm_core/Cargo.toml b/realm_core/Cargo.toml index 0c8d92e..c7368db 100644 --- a/realm_core/Cargo.toml +++ b/realm_core/Cargo.toml @@ -35,6 +35,7 @@ balance = ["realm_lb"] brutal-shutdown = ["realm_io/brutal-shutdown"] transport = ["kaminari"] transport-boost = [] +transport-tls-ring = ["kaminari/tls-ring"] proxy = ["proxy-protocol", "bytes", "tokio/io-util"] batched-udp = [] multi-thread = []