Fix `no_std` MSRV

Fixes #690, #947
This commit is contained in:
mcroad 2022-04-25 11:14:41 -05:00
parent 83514c87a7
commit 7854bd7918
No known key found for this signature in database
GPG Key ID: 7BEFEABAD4E7D535
4 changed files with 9 additions and 2 deletions

View File

@ -28,6 +28,10 @@ jobs:
- rust: 1.41.1
env:
AS_DEPENDENCY: true
- rust: 1.47
env:
AS_DEPENDENCY: true
DO_NO_STD: true
steps:
- name: Checkout Crate
uses: actions/checkout@v2

1
.gitignore vendored
View File

@ -1,5 +1,6 @@
target
Cargo.lock
dep_test
#fuzz
fuzz/hfuzz_target

View File

@ -77,7 +77,8 @@ please join us in
## Minimum Supported Rust Version (MSRV)
This library should always compile with any combination of features on **Rust 1.29**.
This library should always compile with any combination of features (minus
`no-std`) on **Rust 1.41.1** or **Rust 1.47** with `no-std`.
Because some dependencies have broken the build in minor/patch releases, to
compile with 1.29.0 you will need to run the following version-pinning command:

View File

@ -74,7 +74,8 @@ impl fmt::Debug for ExtendedPrivKey {
.field("parent_fingerprint", &self.parent_fingerprint)
.field("child_number", &self.child_number)
.field("chain_code", &self.chain_code)
.finish_non_exhaustive()
.field("private_key", &"[SecretKey]")
.finish()
}
}