Cargo Features

[dependencies]
pg-embed = { version = "0.7.1", default-features = false, features = ["rt_tokio", "rt_tokio_migrate", "rt_async_std", "rt_actix", "rt_async_std_migrate", "rt_actix_migrate"] }
default = rt_tokio_migrate

The rt_tokio_migrate feature is set by default whenever pg-embed is added without default-features = false somewhere in the dependency tree.

rt_tokio = reqwest, tokio

for now only rt_tokio or rt_tokio_migrate can be used

rt_tokio_migrate default = reqwest, sqlx_tokio, tokio
rt_async_std = async-std, surf

please don't select the following features

rt_actix = reqwest, tokio
rt_async_std_migrate = async-std, sqlx_async_std, surf
rt_actix_migrate = reqwest, sqlx_actix, tokio

Features from optional dependencies

In crates that don't use the dep: syntax, optional dependencies automatically become Cargo features. These features may have been created by mistake, and this functionality may be removed in the future.

reqwest rt_actix? rt_actix_migrate? rt_tokio? rt_tokio_migrate

Enables reqwest ^0.11

surf rt_async_std? rt_async_std_migrate?
tokio rt_actix? rt_actix_migrate? rt_tokio? rt_tokio_migrate
async-std rt_async_std? rt_async_std_migrate?
sqlx_tokio rt_tokio_migrate

Enables sqlx ^0.6

sqlx_async_std rt_async_std_migrate?

Enables sqlx ^0.6

sqlx_actix rt_actix_migrate?

Enables sqlx ^0.6