Skip to content

Commit 26976f9

Browse files
author
Joe Grund
authored
feat: add runtime-tokio feature (#92)
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 <[email protected]>
1 parent 7b111a0 commit 26976f9

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

Cargo.toml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,7 @@ sqlite = ["sqlx/sqlite"]
2929
runtime-async-std-native-tls = ["casbin/runtime-async-std", "sqlx/runtime-async-std-native-tls"]
3030
runtime-async-std-rustls = ["casbin/runtime-async-std", "sqlx/runtime-async-std-rustls"]
3131
# tokio
32+
runtime-tokio = ["casbin/runtime-tokio", "sqlx/runtime-tokio"]
3233
runtime-tokio-native-tls = ["casbin/runtime-tokio", "sqlx/runtime-tokio-native-tls"]
3334
runtime-tokio-rustls = ["casbin/runtime-tokio", "sqlx/runtime-tokio-rustls"]
3435

0 commit comments

Comments
 (0)