Skip to content

Commit

Permalink
feat: add runtime-tokio feature (#92)
Browse files Browse the repository at this point in the history
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]>
  • Loading branch information
jgrund authored Sep 20, 2024
1 parent 7b111a0 commit 26976f9
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -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"]

Expand Down

0 comments on commit 26976f9

Please sign in to comment.