-
Notifications
You must be signed in to change notification settings - Fork 452
Revert: Set default-features = false for rust-bitcoin and rust-miniscript #897
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
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -14,8 +14,8 @@ license = "MIT OR Apache-2.0" | |
| [dependencies] | ||
| bdk-macros = "^0.6" | ||
| log = "^0.4" | ||
| miniscript = { version = "9.0", default-features = false, features = ["serde"] } | ||
| bitcoin = { version = "0.29.2", default-features = false, features = ["serde", "base64", "rand"] } | ||
| miniscript = { version = "9.0", features = ["serde"] } | ||
| bitcoin = { version = "0.29.1", features = ["serde", "base64", "rand"] } | ||
|
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Is it intentional to downgrade
Member
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. This was part of the original commit and since I used the |
||
| serde = { version = "^1.0", features = ["derive"] } | ||
| serde_json = { version = "^1.0" } | ||
| rand = "^0.8" | ||
|
|
@@ -104,8 +104,6 @@ test-hardware-signer = ["hardware-signer"] | |
| dev-getrandom-wasm = ["getrandom/js"] | ||
|
|
||
| [dev-dependencies] | ||
| miniscript = { version = "9.0", features = ["std"] } | ||
| bitcoin = { version = "0.29.2", features = ["std"] } | ||
| lazy_static = "1.4" | ||
| env_logger = "0.7" | ||
| electrsd = "0.22" | ||
|
|
||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Mh, rather than outright reverting it, could we maybe leave
default-features = falseand setminiscript/stdin BDK'sdefaultfeature? This way downstream projects could opt-out ofstdby settingdefault-features = falsefor BDK.@benthecarman Would this work for you?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yeah that would work
Uh oh!
There was an error while loading. Please reload this page.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This should work but will still force any downstream projects that use
bdkand havedefault-features = falseto now have to also enable a newstdfeature. That's the kind of breaking change I want to avoid on a patch release. Ideally I want to defer all breaking changes to the 1.0 release.Besides Mutiny are there any other downstream projects that need to disable
stdforbitcoinandminiscript?