Cargo Features

[dependencies]
pg-embed-alternative = { version = "0.8.0-rc1", default-features = false, features = ["rt_tokio", "rt_tokio_migrate"] }
default = rt_tokio_migrate

The rt_tokio_migrate feature is set by default whenever pg-embed-alternative 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

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_tokio? rt_tokio_migrate

Enables reqwest ^0.11

tokio rt_tokio? rt_tokio_migrate
sqlx_tokio rt_tokio_migrate

Enables sqlx ^0.6

Waiting for https://github.com/JoyMoe/archiver-rs/pull/6