This PR adds async-std as an optional runtime for AsyncDB, instead of Tokio.
This PR introduces new features:
asyncdb-tokio = ["dep:tokio", "asyncdb"] -- use tokio runtime for AsyncDB
asyncdb-async-std = ["dep:async-std", "asyncdb"] -- use async-std runtime for AsyncDB.
The async flag has been updated to target async-tokio by default, to avoid breaking changes. Both tokio and async-std are optional dependencies, toggled by the feature flags.
This PR adds
async-std
as an optional runtime forAsyncDB
, instead of Tokio.This PR introduces new features:
asyncdb-tokio = ["dep:tokio", "asyncdb"]
-- usetokio
runtime forAsyncDB
asyncdb-async-std = ["dep:async-std", "asyncdb"]
-- useasync-std
runtime forAsyncDB
.The
async
flag has been updated to targetasync-tokio
by default, to avoid breaking changes. Bothtokio
andasync-std
are optional dependencies, toggled by the feature flags.