Skip to content

fix: make futures-buffered optional dependency in respect to alloc#207

Merged
yoshuawuyts merged 2 commits into
yoshuawuyts:mainfrom
Ddystopia:main
Sep 24, 2025
Merged

fix: make futures-buffered optional dependency in respect to alloc#207
yoshuawuyts merged 2 commits into
yoshuawuyts:mainfrom
Ddystopia:main

Conversation

@Ddystopia

Copy link
Copy Markdown
Contributor

futures-buffered is only used in concurrent_stream, which is feature gated to feature = "alloc". But dependency is not optional, thus compiler still requires you to devine a global allocator.

@Ddystopia

Copy link
Copy Markdown
Contributor Author

CI failures are unrelated:

error: package half v2.5.0 cannot be built because it requires rustc 1.81 or newer, while the currently active rustc version is 1.75.0

@yoshuawuyts yoshuawuyts left a comment

Copy link
Copy Markdown
Owner

Choose a reason for hiding this comment

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

This is great, thank you!

@yoshuawuyts yoshuawuyts merged commit 45c96aa into yoshuawuyts:main Sep 24, 2025
7 checks passed
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