Skip to content

Conversation

ashthespy
Copy link
Member

A housekeeping follow up to #463

We probably should push this as a patch fix to master #477

Copy link
Contributor

@marcelbuesing marcelbuesing left a comment

Choose a reason for hiding this comment

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

Looks good to me! Also appears to fix the build errors of spotifyd master (just noticed I had run cargo update for spotifyd, which is why I also ran into this breaking change).

@ashthespy
Copy link
Member Author

Just looked into Travis - this bump of protobuf makes our MSRV go up as well - as it uses maybe_uninit that isn't available on 1.33.

What should we do? On the one hand, I haven't gone through protobuf's changelog to see if there are any pressing features we need from this new version, on the other hand, not sure what the advantage of maintaining a MSRV is either.

FWIW #456 also requires a bump to 1.40 MSRV, but it's behind a feature flag.

@marcelbuesing
Copy link
Contributor

Assuming librespot would e.g. migrate to tokio 0.2 / futures 0.3 sooner or later I think would mean 1.39 MSRV. Nevertheless I assume it would be good in general to specify for the project what the criteria are for staying on a certain version. E.g. I could imagine something like the project wants to support AVR or some particular architectures, which then would require a certain MSRV.

@mainrs
Copy link

mainrs commented Jul 13, 2020

1.33 is 13 versions behind. I think bumping the MSRV up should be fine. I do usually try to stick with the version that Ubuntu LTS ships with (which is, as of now), Rust 1.41.0 in xenial (16.04).

In any case, you guys should add a rust-toolchain file and pin the MSRV down there so people don't compile against the wrong version.

@varac
Copy link

varac commented Jul 21, 2020

Please merge this soon so spotifyd can update to a newer librespot version. Thanks !

@ashthespy ashthespy merged commit 72437bf into librespot-org:dev Jul 22, 2020
@varac
Copy link

varac commented Jul 22, 2020

@ashthespy Thanks !

@mainrs
Copy link

mainrs commented Jul 22, 2020

@ashthespy Thanks for merging! Any chance that you guys release a new version on crates.io? The current installation is sadly broken.

@ashthespy
Copy link
Member Author

ashthespy commented Jul 22, 2020

@sirwindfield That would be up to either @awiouy or @sashahilton00 - I don't touch master, moreover they have the permissions for crates.io..

FWIW, the dev branch was building fine post 6ee2dba by pinning to an old version of protobuf - couldn't spotifyd in the meantime use a git dependency, I think there have been a few changes since the last release..

@mainrs
Copy link

mainrs commented Jul 22, 2020

Don't worry, we're not in a hurry. Ye, I could probably create a dev branch and use the git dependency there. I wanted to stick in master to released versions. Thanks though for merging!

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.

4 participants