Skip to content
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

Eliminate most uses of util module #668

Closed

Conversation

Johannesd3
Copy link
Contributor

@Johannesd3 Johannesd3 commented Mar 10, 2021

Seems as if Diffie Hellman works exactly the same way in core and discovery, but except of the constants the code wasn't reused until now.

Sequel: Without the use of powm in discovery, it became unnecessary that this function is exposed in the util module. Looking through the other uses of util, I realized that most of them are easy to replace. The last remaining item in util is SeqGenerator as it is used once in spirc.rs.

@Johannesd3 Johannesd3 changed the title Reuse librespot-core's Diffie Hellman in discovery Eliminate most uses of util module Mar 18, 2021
@sashahilton00
Copy link
Member

sashahilton00 commented Mar 26, 2021

Why is the MSRV being bumped to 1.45? Ideally we'd keep it at 1.41 so that it can be compiled on Debian stable.

@Johannesd3
Copy link
Contributor Author

IIRC it's the MSRV of Tokio 1.0

@sashahilton00
Copy link
Member

sashahilton00 commented Mar 26, 2021

Ah right, ignore my previous comment, missed that this was a PR against the tokio_migration branch.

@roderickvd
Copy link
Member

Also expect a new Debian stable to land in July with Rust 1.48.

@Johannesd3 Johannesd3 closed this Apr 9, 2021
@Johannesd3 Johannesd3 deleted the diffie-hellman branch April 9, 2021 20:11
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