Skip to content
This repository was archived by the owner on Aug 16, 2024. It is now read-only.

Update dependencies - #21

Open
AArnott wants to merge 1 commit into
jjyr:masterfrom
nerdcash:updateDependencies
Open

Update dependencies#21
AArnott wants to merge 1 commit into
jjyr:masterfrom
nerdcash:updateDependencies

Conversation

@AArnott

@AArnott AArnott commented Oct 6, 2023

Copy link
Copy Markdown

The ring dependency update is particularly important, as that adds support for Windows ARM64 targeting.

I also update the toolchain version.

Finally, I bump the crate version to 0.4.2 to prepare for a release with the updated dependencies.

The `ring` dependency update is particularly important, as that adds support for Windows ARM64 targeting.

I also update the toolchain version.

Finally, I bump the crate version to 0.4.2 to prepare for a release with the updated dependencies.

@daira daira left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Is the MSRV of 1.73.0 necessary?

Comment thread Cargo.toml
[dev-dependencies]
hex = "0.4"
base58 = "0.1"
ripemd160 = "0.8"

@daira daira Feb 9, 2024

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

According to its crates.io entry, ripemd160 is deprecated and should be replaced with ripemd.

Suggested change
ripemd160 = "0.8"
ripemd = "0.1.3"

This will also need import changes.

@daira daira left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Untested ACK modulo a suggestion.

Comment thread Cargo.toml
secp256k1 = "0.28.0"
rand_core = "0.6.4"
ring = "0.16"
ring = "0.17.5"

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

ring is only used for SHA-256 and HMAC. If instead the sha2 and hmac crates were used, the ring dependency could be dropped.

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

I note that this is precisely what the bip32 crate does, so perhaps users that don't want the ring dependency should use bip32 instead.

Comment thread Cargo.toml
ring = "0.17.5"
lazy_static = "1.4"
thiserror = "1.0.38"
thiserror = "1.0.50"

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Why is this being bumped? is there a need to pin this crate to this new minimum version of thiserror?

Comment thread Cargo.toml
hex = "0.4.3"
base58 = "0.2.0"
ripemd160 = "0.10.0"
rand = "0.8.5"

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Why is this being bumped? Is there a need to pin this crate to this specific minimum version of rand?

Comment thread Cargo.toml
base58 = "0.1"
ripemd160 = "0.8"
rand = "0.8.3"
hex = "0.4.3"

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Why is this being bumped? Is there a need to pin this crate to this specific minimum version of hex?

@AArnott

AArnott commented Jun 12, 2024

Copy link
Copy Markdown
Author

I'm curious why this PR is suddenly getting all this attention -- from non-owners of the repo no less. This PR is as dead as ... 8 months old. I don't think jjyr will be merging this anyway.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants