From cad8c0e3071f94786f807f8c062cc377a01a76f4 Mon Sep 17 00:00:00 2001 From: kjuulh Date: Thu, 5 Mar 2026 21:29:06 +0100 Subject: [PATCH] feat: add providers --- Cargo.lock | 2 +- crates/nocontrol/Cargo.toml | 4 +++- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index 0b1b203..d84a184 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -1728,8 +1728,8 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "758025cb5fccfd3bc2fd74708fd4682be41d99e5dff73c377c0646c6012c73a4" dependencies = [ "aws-lc-rs", - "log", "once_cell", + "ring", "rustls-pki-types", "rustls-webpki", "subtle", diff --git a/crates/nocontrol/Cargo.toml b/crates/nocontrol/Cargo.toml index c38f034..e3cf601 100644 --- a/crates/nocontrol/Cargo.toml +++ b/crates/nocontrol/Cargo.toml @@ -31,7 +31,7 @@ tokio-postgres = { version = "0.7", optional = true, features = [ ] } chrono = { version = "0.4", optional = true } tokio-postgres-rustls = { version = "0.13", optional = true } -rustls = { version = "0.23", optional = true } +rustls = { version = "0.23", optional = true, default-features = false } rustls-native-certs = { version = "0.8", optional = true } @@ -43,3 +43,5 @@ tracing-test = { version = "0.2.5", features = ["no-env-filter"] } default = [] postgres = ["dep:tokio-postgres", "dep:chrono"] postgres-tls = ["postgres", "dep:tokio-postgres-rustls", "dep:rustls", "dep:rustls-native-certs"] +postgres-tls-ring = ["postgres-tls", "rustls/ring"] +postgres-tls-aws-lc-rs = ["postgres-tls", "rustls/aws_lc_rs"]