Skip to content

Conversation

@jamillambert
Copy link
Collaborator

@jamillambert jamillambert commented Nov 25, 2025

There are tokio features that are not used in the crate, or only used in an example.

Update the example so that it doesn't require any additional tokio features that the rest of the crate doesn't use.

Remove the unused tokio features. Addresses one of the points in #402.

Update the lock files.

The async example did not compile without enabling tokio features that
are not used in the rest of the crate.

Use a minimal tokio runtime in the example to fix the problem.
@jamillambert jamillambert force-pushed the 1125-bitreq-tokio-features branch from 33ba79c to 61518d5 Compare November 25, 2025 22:05
Copy link
Member

@tcharding tcharding left a comment

Choose a reason for hiding this comment

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

ACK 61518d5

@tcharding tcharding merged commit 4f3c729 into rust-bitcoin:master Nov 26, 2025
30 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