Skip to content

Replace async_std with tokio - #136

Merged
FalkWoldmann merged 4 commits into
masterfrom
replace_async_std
Aug 21, 2025
Merged

FalkWoldmann merged 4 commits into
masterfrom
replace_async_std

Conversation

@FalkWoldmann

Copy link
Copy Markdown
Member

Fixes #134

@alexliesenfeld

alexliesenfeld commented Aug 3, 2025 •

Copy link
Copy Markdown
Member

Ah, yes, the reason why async_std was used before, is because tokio data structures strictly required that a tokio executor is used. The goal so far was to support all major executors, not only tokio.

You can see it in the test results: „there is no reactor running, must be called from the context of a Tokio 1.x runtime“

@FalkWoldmann

Copy link
Copy Markdown
Member Author

Ah, didn't know that! I just ran the tests without all features enabled. I will have a look what alternatives might exist, like smol :)

@FalkWoldmann
FalkWoldmann marked this pull request as draft August 5, 2025 06:30
@FalkWoldmann
FalkWoldmann marked this pull request as ready for review August 5, 2025 06:31
@FalkWoldmann
FalkWoldmann marked this pull request as draft August 5, 2025 06:32
@FalkWoldmann
FalkWoldmann marked this pull request as ready for review August 17, 2025 19:06

@alexliesenfeld alexliesenfeld left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looking good to me, thanks! I left some comments.

Comment thread src/common/mod.rs Resolved
Comment thread Cargo.toml Resolved
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.

Remove async-std because it's discontinued

2 participants