Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

add mapped_futures #2751

Open
wants to merge 21 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
21 commits
Select commit Hold shift + click to select a range
baa8c74
Add MappedFutures
StoicDeveloper Apr 4, 2025
d4f33d6
extract MappedFutures to module nested in FuturesUnordered; clean code
StoicDeveloper Apr 4, 2025
9db37c6
resolve lints and add std feature requirement for MappedFutures
StoicDeveloper Apr 4, 2025
fbe6f20
fix lint; remove unstable ready! macro; remove 1.70 Arc::into_inner
StoicDeveloper Apr 4, 2025
344b41f
fix lint
StoicDeveloper Apr 4, 2025
96bf4da
fix unsoundness; switch futures_timer to tokio::time; add additional …
StoicDeveloper Apr 4, 2025
1f58094
downgrade new tokio
StoicDeveloper Apr 4, 2025
9a4b9ef
use most recent cargo2018-compatiable tokio version
StoicDeveloper Apr 4, 2025
eb361a1
avoid unsoundness by pointerizing arc before release of task
StoicDeveloper Apr 5, 2025
3eedd70
remove timer deps
StoicDeveloper Apr 5, 2025
6cc507a
remove Unpin key req, add Send and Sync impls, add ExactSizeIterator …
StoicDeveloper Apr 5, 2025
2a7c0c1
extract task ref counting
StoicDeveloper Apr 5, 2025
4a69aaa
apply clippy suggestions
StoicDeveloper Apr 5, 2025
a662a83
clarify cargo comment
StoicDeveloper Apr 5, 2025
5968e41
remove hash trait from HashFut
StoicDeveloper Apr 5, 2025
c0ecfa0
add more iterator traits, add comments
StoicDeveloper Apr 5, 2025
5d1803c
re-apply overwritten clippy fixes
StoicDeveloper Apr 5, 2025
f217aa9
remove &muts for &; refactor out all Arc::into_raw()
StoicDeveloper Apr 5, 2025
98eedf3
add safety comment on Sync impl
StoicDeveloper Apr 5, 2025
784b076
extract HashTask::get_future()
StoicDeveloper Apr 5, 2025
eaaeb08
add safety doc comment, and add debug_assert!() for non-nullable task…
StoicDeveloper Apr 6, 2025
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions futures-util/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,8 @@ spin = { version = "0.10.0", optional = true }
futures = { path = "../futures", features = ["async-await", "thread-pool"] }
futures-test = { path = "../futures-test" }
tokio = "0.1.11"
# MappedFutures's test cases require tokio::time::sleep, which is unavailable in the above tokio version
tokio_new = {package = "tokio", git = "https://github.com/tokio-rs/tokio", branch = "tokio-1.25.x", features = ["time", "rt", "macros"]}

[package.metadata.docs.rs]
all-features = true
Expand Down
Loading