Skip to content

links with multiple instances of rand and blsttc #1147

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
jonassmedegaard opened this issue Apr 27, 2022 · 3 comments
Open

links with multiple instances of rand and blsttc #1147

jonassmedegaard opened this issue Apr 27, 2022 · 3 comments
Assignees

Comments

@jonassmedegaard
Copy link

The crate bls_dkg mentions in its changelog concerns about multiple versions of blsttc and rand used together.
I might be ready too much into that (quite possible: I am new to Rust!) but if generally risky to mix multiple instances of blsttc and rust into a project then this seems to currently be the case with safe_network, as sn_api depends on newer releases via sn_dbc.

Even if not an issue technically, please consider anyway migrating to the newer rand v0.8: I am working on packaging safe_network officially for Debian, which requires packaging each and every dependency - and rand v0.8 is currently packaged but v0.7 is not, and I will expect Debian maintainers of the v0.8 crate to be hesitant to introducing the v0.7 crate, preferring instead to try coerce projects to use the newer and likely better maintained v0.8.

@joshuef
Copy link
Contributor

joshuef commented May 3, 2022

We are definitely keen to update to rand 0.8 👍 It's on our radar, but can be a bit of a dep nightmare.

@jonassmedegaard
Copy link
Author

yeah, I am not a Rust coder (only look at it for the purpose of integrating with the Debian distribution) but do sense some potential headaches in the area of rand versions...

I wish you the best of luck with the upgrade task :-)

@jonassmedegaard
Copy link
Author

Perhaps, depending on complexity of needs, it might be relevant to consider switching from rand to instead use nanorand?

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

No branches or pull requests

3 participants