Skip to content

Fix cargo features#1017

Merged
notmandatory merged 1 commit intobitcoindevkit:masterfrom
evanlinjin:fix_cargo_features
Jun 26, 2023
Merged

Fix cargo features#1017
notmandatory merged 1 commit intobitcoindevkit:masterfrom
evanlinjin:fix_cargo_features

Conversation

@evanlinjin
Copy link
Copy Markdown
Member

@evanlinjin evanlinjin commented Jun 26, 2023

Description

The following commands failed on master:

$ cargo build -p bdk_esplora
$ cargo build -p bdk_electrum

This PR introduces the following fixes:

  • bdk_chain/std should also enable miniscript/std
  • use the version of hashbrown that bitcoin and miniscript uses

Notes to the reviewers

Changelog notice

  • Change the version of hashbrown to 0.11 (the version that bitcoin and miniscript uses).
  • Fix the std feature flags for bdk_chain.

Checklists

All Submissions:

  • I've signed all my commits
  • I followed the contribution guidelines
  • I ran cargo fmt and cargo clippy before committing

Bugfixes:

* [ ] This pull request breaks the existing API
* [ ] I've added tests to reproduce the issue which are now passing
* [ ] I'm linking the issue being fixed by this PR

@notmandatory notmandatory added this to the 1.0.0-alpha.1 milestone Jun 26, 2023
Comment thread crates/chain/Cargo.toml Outdated
@evanlinjin evanlinjin force-pushed the fix_cargo_features branch 2 times, most recently from 72e1e81 to 89e0e90 Compare June 26, 2023 02:56
* `bdk_chain/std` should also enable `miniscript/std`
* use the version of `hashbrown` that `bitcoin` and `miniscript` is
  using
@evanlinjin evanlinjin force-pushed the fix_cargo_features branch from 89e0e90 to 26ade11 Compare June 26, 2023 03:02
@evanlinjin evanlinjin requested a review from notmandatory June 26, 2023 03:06
Copy link
Copy Markdown
Member

@notmandatory notmandatory left a comment

Choose a reason for hiding this comment

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

ACK 26ade11

@notmandatory notmandatory merged commit 26ade11 into bitcoindevkit:master Jun 26, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Archived in project

Development

Successfully merging this pull request may close these issues.

2 participants