Skip to content

bitcoin: Remove "std" feature from examples#2856

Merged
apoelstra merged 1 commit intorust-bitcoin:masterfrom
tcharding:06-11-explicit-std-feature
Jun 12, 2024
Merged

bitcoin: Remove "std" feature from examples#2856
apoelstra merged 1 commit intorust-bitcoin:masterfrom
tcharding:06-11-explicit-std-feature

Conversation

@tcharding
Copy link
Copy Markdown
Member

The "rand-std" feature enables "std" but we use it in examples still. FTR I added this a while ago thinking the explicitness was clearer but in hindsight I think that was wrong and that it makes usage of our features less clear.

No logic changes.

(Pulled out of #2756.)

The "rand-std" feature enables "std" but we use it in examples still.
FTR I added this a while ago thinking the explicitness was clearer but
in hindsight I think that was wrong and that it makes usage of our
features _less_ clear.

No logic changes.
@github-actions github-actions bot added the C-bitcoin PRs modifying the bitcoin crate label Jun 11, 2024
@tcharding
Copy link
Copy Markdown
Member Author

cc @storopoli because he told me this was wrong at the time.

Copy link
Copy Markdown
Contributor

@storopoli storopoli left a comment

Choose a reason for hiding this comment

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

ACK 091d614
Less is more (most of the time) 👍🏻

@tcharding
Copy link
Copy Markdown
Member Author

tcharding commented Jun 11, 2024

Less cake for you!

Copy link
Copy Markdown
Member

@apoelstra apoelstra left a comment

Choose a reason for hiding this comment

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

ACK 091d614

@apoelstra apoelstra merged commit 76b0060 into rust-bitcoin:master Jun 12, 2024
@tcharding tcharding deleted the 06-11-explicit-std-feature branch June 26, 2024 05:02
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

C-bitcoin PRs modifying the bitcoin crate

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants