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
Merge #331: Update the code to edition 2018, and update dependencies
5d2f1ce Fix WASM build (Elichai Turkel)
39aaac6 Use new trait TryFrom and do small refactoring (Elichai Turkel)
7d3a149 Move more things from the std feature to the alloc feature (Elichai Turkel)
bc8c713 Replace c_void with core::ffi::c_void (Elichai Turkel)
26a52bc Update secp256k1-sys to edition 2018 and fix imports (Elichai Turkel)
ebe46a4 Update rand to 0.8 and replace CounterRng with mock::StepRng (Elichai Turkel)
626835f Update secp256k1 to edition 2018 and fix imports (Elichai Turkel)
67c0922 Update MSRV in CI and Readme from 1.29 to 1.41 (Elichai Turkel)
Pull request description:
As proposed in rust-bitcoin/rust-bitcoin#510 (comment) this PR raises the MSRV to 1.41.1 it also changes the code to be Edition 2018.
The PR contains a few things:
* Moving to edition 2018 and fixing the imports
* Sorting and combining imports to make them more concise
* Replacing our c_void with `core::ffi::c_void`
* Bumping the `rand` version to latest and modifying our `RngCore` implementations accordingly
* Doing some small refactoring and using the new `TryInto` trait where it makes the code nicer
If people prefer I can split this PR into multiple and/or drop some commits
ACKs for top commit:
tcharding:
ACK 5d2f1ce
apoelstra:
ACK 5d2f1ce
Tree-SHA512: 5bf84e7ebb6286d59f8cada0bb712c46336f0dd6c35b67e6f4ba323b5484ad925b99b73e778ae4608f123938e7ee8705a0aec576cd9c065072c4ecf1248e3470
description = "Rust wrapper library for Pieter Wuille's `libsecp256k1`. Implements ECDSA and BIP 340 signatures for the SECG elliptic curve group secp256k1 and related utilities."
Copy file name to clipboardExpand all lines: README.md
+1-15Lines changed: 1 addition & 15 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -20,21 +20,7 @@ Contributions to this library are welcome. A few guidelines:
20
20
* Any breaking changes must have an accompanied entry in CHANGELOG.md
21
21
* No new dependencies, please.
22
22
* No crypto should be implemented in Rust, with the possible exception of hash functions. Cryptographic contributions should be directed upstream to libsecp256k1.
23
-
* This library should always compile with any combination of features on **Rust 1.29**.
24
-
25
-
## A note on Rust 1.29 support
26
-
27
-
The build dependency `cc` might require a more recent version of the Rust compiler.
28
-
To ensure compilation with Rust 1.29.0, pin its version in your `Cargo.lock`
29
-
with `cargo update -p cc --precise 1.0.41`. If you're using `secp256k1` in a library,
30
-
to make sure it compiles in CI, you'll need to generate a lockfile first.
0 commit comments