mirror of
https://github.com/launchbadge/sqlx.git
synced 2025-12-29 21:00:54 +00:00
Add runtime-actix and migrate features to readme
This commit is contained in:
parent
4fda8be005
commit
78a5629d5a
14
README.md
14
README.md
@ -124,11 +124,21 @@ sqlx = "0.4.0-beta.1"
|
||||
sqlx = { version = "0.4.0-beta.1", default-features = false, features = [ "runtime-tokio", "macros" ] }
|
||||
```
|
||||
|
||||
**actix**
|
||||
|
||||
```toml
|
||||
# Cargo.toml
|
||||
[dependencies]
|
||||
sqlx = { version = "0.4.0-beta.1", default-features = false, features = [ "runtime-actix", "macros" ] }
|
||||
```
|
||||
|
||||
#### Cargo Feature Flags
|
||||
|
||||
* `runtime-async-std` (on by default): Use the `async-std` runtime.
|
||||
|
||||
* `runtime-tokio`: Use the `tokio` runtime. Mutually exclusive with the `runtime-async-std` feature.
|
||||
* `runtime-tokio`: Use the `tokio` runtime. Mutually exclusive all other runtimes.
|
||||
|
||||
* `runtime-actix`: Use the `actix_rt` runtime. Mutually exclusive all other runtimes.
|
||||
|
||||
* `postgres`: Add support for the Postgres database server.
|
||||
|
||||
@ -141,6 +151,8 @@ sqlx = { version = "0.4.0-beta.1", default-features = false, features = [ "runti
|
||||
* `any`: Add support for the `Any` database driver, which can proxy to a database driver at runtime.
|
||||
|
||||
* `macros`: Add support for the `query*!` macros, which allow compile-time checked queries.
|
||||
|
||||
* `migrate`: Add support for the migration management and `migrate!` macro, which allow compile-time embedded migrations.
|
||||
|
||||
* `uuid`: Add support for UUID (in Postgres).
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user