Skip to content

Conversation

@enmand
Copy link
Contributor

@enmand enmand commented Aug 27, 2024

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.

@dermesser
Copy link
Owner

Very nice work!

@dermesser dermesser merged commit 812d49c into dermesser:master Sep 1, 2024
@enmand
Copy link
Contributor Author

enmand commented Sep 1, 2024

Nice, thank you! I'll rebase this changes on #49 since it depends on this one.

@enmand enmand deleted the feat/asyncdb-async-std branch September 1, 2024 15:14
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants