mirror of
https://github.com/launchbadge/sqlx.git
synced 2026-03-19 08:39:44 +00:00
Rename cargo features in preparation for rustls support
This commit is contained in:
committed by
Ryan Leckey
parent
04f68632b4
commit
a161bcba05
@@ -6,9 +6,9 @@ edition = "2018"
|
||||
publish = false
|
||||
|
||||
[features]
|
||||
runtime-actix = ["sqlx/runtime-actix", "sqlx-rt/runtime-actix"]
|
||||
runtime-async-std = ["sqlx/runtime-async-std", "sqlx-rt/runtime-async-std"]
|
||||
runtime-tokio = ["sqlx/runtime-tokio", "sqlx-rt/runtime-tokio"]
|
||||
runtime-actix-native-tls = [ "sqlx/runtime-actix-native-tls", "sqlx-rt/runtime-actix-native-tls" ]
|
||||
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" ]
|
||||
|
||||
postgres = ["sqlx/postgres"]
|
||||
|
||||
|
||||
@@ -23,8 +23,8 @@ This Cargo project implements various benchmarks for SQLx using
|
||||
You must choose a runtime to execute the benchmarks on; the feature flags are the same as the `sqlx` crate:
|
||||
|
||||
```bash
|
||||
cargo bench --features runtime-tokio
|
||||
cargo bench --features runtime-async-std
|
||||
cargo bench --features runtime-tokio-native-tls
|
||||
cargo bench --features runtime-async-std-native-tls
|
||||
```
|
||||
|
||||
When complete, the benchmark results will be in `target/criterion/`.
|
||||
|
||||
Reference in New Issue
Block a user