From 7600c38b23392c9b2f5eaef59cc4a461772f59c8 Mon Sep 17 00:00:00 2001 From: Joe Grund Date: Thu, 4 Jul 2024 10:36:12 -0400 Subject: [PATCH] Add `runtime-tokio` feature Add a `runtime-tokio` feature that does not select a tls impl. This is useful when using sqlx-adapter via a UDS backed pool. Signed-off-by: Joe Grund --- Cargo.toml | 1 + 1 file changed, 1 insertion(+) diff --git a/Cargo.toml b/Cargo.toml index 9544e4e..8086e79 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -29,6 +29,7 @@ sqlite = ["sqlx/sqlite"] runtime-async-std-native-tls = ["casbin/runtime-async-std", "sqlx/runtime-async-std-native-tls"] runtime-async-std-rustls = ["casbin/runtime-async-std", "sqlx/runtime-async-std-rustls"] # tokio +runtime-tokio = ["casbin/runtime-tokio", "sqlx/runtime-tokio"] runtime-tokio-native-tls = ["casbin/runtime-tokio", "sqlx/runtime-tokio-native-tls"] runtime-tokio-rustls = ["casbin/runtime-tokio", "sqlx/runtime-tokio-rustls"]