-
Notifications
You must be signed in to change notification settings - Fork 141
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Remove no-std and actual-serde features
The `no-std` feature is no longer needed with `bitcoin` version 0.32.0 - Update README.md - Disable `actual-serde` implicit feature
- Loading branch information
Showing
5 changed files
with
23 additions
and
18 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -27,24 +27,38 @@ are convertible to `bitcoin::PublicKey` | |
completing an unsigned `bitcoin::TxIn` with appropriate data | ||
* Determining the specific keys, hash preimages and timelocks used to spend | ||
coins in a given Bitcoin transaction | ||
* `no_std` support enabled by disabling the `default-features` and enabling | ||
`"no-std"`. See `embedded/` for an example. | ||
* `no_std` support enabled by disabling the `default-features`. See `embedded/` for an example. | ||
|
||
More information can be found in [the documentation](https://docs.rs/miniscript) | ||
or in [the `examples/` directory](https://github.com/rust-bitcoin/rust-miniscript/tree/master/examples) | ||
|
||
## Building | ||
|
||
The cargo feature `std` is enabled by default. At least one of the features `std` or `no-std` or both must be enabled. | ||
The cargo feature `std` is enabled by default. To enable `no_std` support you must disable default features. | ||
|
||
Enabling the `no-std` feature does not disable `std`. To disable the `std` feature you must disable default features. The `no-std` feature only enables additional features required for this crate to be usable without `std`. Both can be enabled without conflict. | ||
The library can be built and tested using [`cargo`](https://github.com/rust-lang/cargo/): | ||
|
||
``` | ||
git clone [email protected]:rust-bitcoin/rust-miniscript.git | ||
cd rust-miniscript | ||
cargo build | ||
``` | ||
|
||
You can run tests with: | ||
|
||
``` | ||
cargo test | ||
``` | ||
|
||
Please refer to the [`cargo` documentation](https://doc.rust-lang.org/stable/cargo/) for more | ||
detailed instructions. | ||
|
||
## Minimum Supported Rust Version (MSRV) | ||
|
||
This library should always compile with any combination of features on **Rust 1.63.0**. | ||
|
||
Some dependencies do not play nicely with our MSRV, if you are running the tests | ||
you may need to pin some dependencies. See `./contrib/test.sh` for current pinning. | ||
you may need to pin some dependencies. See `./contrib/pin.sh` for current pinning. | ||
|
||
## Contributing | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters