mirror of
https://github.com/launchbadge/sqlx.git
synced 2026-03-19 08:39:44 +00:00
Add rustls support
This commit is contained in:
committed by
Ryan Leckey
parent
9298c88b87
commit
b14266ba2e
@@ -10,6 +10,10 @@ runtime-actix-native-tls = [ "sqlx/runtime-actix-native-tls", "sqlx-rt/runtime-a
|
||||
runtime-async-std-native-tls = [ "sqlx/runtime-async-std-native-tls", "sqlx-rt/runtime-async-std-native-tls" ]
|
||||
runtime-tokio-native-tls = [ "sqlx/runtime-tokio-native-tls", "sqlx-rt/runtime-tokio-native-tls" ]
|
||||
|
||||
runtime-actix-rustls = [ "sqlx/runtime-actix-rustls", "sqlx-rt/runtime-actix-rustls" ]
|
||||
runtime-async-std-rustls = [ "sqlx/runtime-async-std-rustls", "sqlx-rt/runtime-async-std-rustls" ]
|
||||
runtime-tokio-rustls = [ "sqlx/runtime-tokio-rustls", "sqlx-rt/runtime-tokio-rustls" ]
|
||||
|
||||
postgres = ["sqlx/postgres"]
|
||||
|
||||
[dependencies]
|
||||
|
||||
@@ -24,7 +24,7 @@ You must choose a runtime to execute the benchmarks on; the feature flags are th
|
||||
|
||||
```bash
|
||||
cargo bench --features runtime-tokio-native-tls
|
||||
cargo bench --features runtime-async-std-native-tls
|
||||
cargo bench --features runtime-async-std-rustls
|
||||
```
|
||||
|
||||
When complete, the benchmark results will be in `target/criterion/`.
|
||||
|
||||
Reference in New Issue
Block a user