Skip to content

Use only non-send futures#77

Draft
maxammann wants to merge 15 commits into
maplibre:mainfrom
maxammann:only-non-send-futures
Draft

Use only non-send futures#77
maxammann wants to merge 15 commits into
maplibre:mainfrom
maxammann:only-non-send-futures

Conversation

@maxammann

Copy link
Copy Markdown
Collaborator

Async Rust is a mess.

💻 Examples

🚨 Test instructions

✔️ PR Todo

  • Included links to related issues/PRs

@maxammann maxammann marked this pull request as ready for review May 9, 2022 15:23
@maxammann

Copy link
Copy Markdown
Collaborator Author

I think input from a rust expert would be nice here...

@maxammann maxammann requested review from ka7eh and nyurik May 9, 2022 15:33
maxammann added 4 commits May 10, 2022 09:09
# Conflicts:
#	maplibre/Cargo.toml
#	maplibre/src/io/scheduler.rs
#	maplibre/src/io/source_client.rs
#	maplibre/src/platform/noweb/http_client.rs
#	maplibre/src/platform/noweb/schedule_method.rs
@maxammann maxammann force-pushed the main branch 3 times, most recently from 8c5d8ee to 4dbd47b Compare June 3, 2022 09:54
@maxammann maxammann changed the title Use only non-send futures Postphoned until needed: Use only non-send futures Nov 12, 2022
@maxammann maxammann changed the title Postphoned until needed: Use only non-send futures Postponed: Use only non-send futures Nov 19, 2022
@maxammann maxammann added the pr-postponed Postponed PR, which is not needed right now but might be needed (contains valuable information) label Nov 19, 2022
nyurik
nyurik previously approved these changes Nov 27, 2022

@nyurik nyurik 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.

looks good! Have you considered to use the nightly async trait feature?

# Conflicts:
#	maplibre/Cargo.toml
#	maplibre/src/io/scheduler.rs
#	maplibre/src/io/source_client.rs
#	maplibre/src/platform/noweb/http_client.rs
#	maplibre/src/platform/noweb/schedule_method.rs
#	web/Cargo.toml
@maxammann maxammann changed the title Postponed: Use only non-send futures Use only non-send futures Oct 20, 2023
@maxammann maxammann removed the pr-postponed Postponed PR, which is not needed right now but might be needed (contains valuable information) label Oct 21, 2023
@maxammann maxammann marked this pull request as draft July 3, 2025 15:20
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.

3 participants