You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Currently we provide dependencies with default features disabled, this
is so that the 'alloc' feature (e.g. `no-std`) functions correctly.
However, this means that in the common case users of the library must
add an explicit dependency for `bitcoin_hashes` and `serde` if they wish
to use 'std'. Especially for `bitcoin_hashes` this is inconvenient.
Add -std features so that users do not need an explicit dependency in
the common case. For this very reason, this patch opens up the way to
remove the `bitcoin_hashes` dependency from `rust-bitcoin`.
Change the test matrix to only test '*-std' features when 'std' is
enabled since enabling one without the other is illogical. Please note,
this replaces the test run of feature 'std'+'rand'+'rand-std' with just
'std'+'rand-std' because enabling 'rand-std' enables 'rand' so the
explicit additional feature is redundant.
0 commit comments