Skip to content

Enable edition 2018 - #26

Closed
tcharding wants to merge 4 commits into
rust-bitcoin:masterfrom
tcharding:06-30-msrv
Closed

Enable edition 2018#26
tcharding wants to merge 4 commits into
rust-bitcoin:masterfrom
tcharding:06-30-msrv

Conversation

@tcharding

Copy link
Copy Markdown
Member

Bump the MSRV to 1.41.1 and enable edition 2018. This is the same as what we have been doing across the rust-bitcoin stack.

There are two newlines at the end of the file, remove one.
Bump the Minimum Supported Rust Version to 1.41.1 as we did for the rest
of the rust-bitcoin stack.

ao
Now that we are on edition 2018 we no longer need the explicit `lib`
section in the manifest, it is the same as what is provided by default.
Now that we have bumped the MSRV to Rust 1.41.1 we can update the `rand`
dependency (and `rand_core`).
@pauldemarco

Copy link
Copy Markdown

Any update on this PR?

@tcharding

Copy link
Copy Markdown
Member Author

This PR is missing change to travis.yaml to use the new MSRV toolchain, thanks @ayrat555

@tcharding tcharding mentioned this pull request Feb 19, 2023
Comment thread Cargo.toml
[dependencies]
bitcoin_hashes = "0.9.4"
rand_core = "0.4.0"
rand_core = "0.6.3"

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is a breaking change, right.. We expose the rand_core API

@stevenroose

Copy link
Copy Markdown
Collaborator

(Needs rebase) Why is the rand_code change needed to support newer MSRV/2018?

@tcharding tcharding closed this Feb 27, 2023
@tcharding
tcharding deleted the 06-30-msrv branch February 27, 2023 23:56
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants