mirror of
https://github.com/librespot-org/librespot.git
synced 2026-04-27 08:15:50 +03:00
[PR #391] [CLOSED] Update to Rust Edition 2018 (and force rustfmt) #906
Labels
No labels
A-Alsa
SpotifyAPI
Tokio 1.0
audio
bug
can't reproduce
compilation
dependencies
duplicate
enhancement
good first issue
help wanted
high priority
imported
imported
invalid
new api
pull-request
question
reverse engineering
wiki
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/librespot#906
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/librespot-org/librespot/pull/391
Author: @ashthespy
Created: 11/1/2019
Status: ❌ Closed
Base:
dev← Head:edition_2018📝 Commits (8)
0b050a3Use explicitdyn Trait678db7dUpdate to Rust 201824e8a3cReplace try! shorthand592bd39Complete migration to edition 20180d68641Run rustfmt on full codebase55865fcAdd rustfmt to Travisd9f18c9Reset max_width854f779Fix deprecated Error::cause warnings and missing dyn📊 Changes
46 files changed (+382 additions, -271 deletions)
View changed files
📝
.travis.yml(+2 -0)📝
Cargo.toml(+1 -0)📝
audio/src/decrypt.rs(+5 -8)📝
audio/src/fetch.rs(+15 -6)📝
audio/src/lib.rs(+4 -4)📝
audio/src/libvorbis_decoder.rs(+2 -2)📝
connect/src/context.rs(+2 -2)📝
connect/src/discovery.rs(+28 -27)📝
connect/src/lib.rs(+2 -2)📝
connect/src/spirc.rs(+34 -19)📝
core/src/apresolve.rs(+10 -9)📝
core/src/audio_key.rs(+7 -3)📝
core/src/authentication.rs(+16 -15)📝
core/src/cache.rs(+4 -4)📝
core/src/channel.rs(+1 -1)📝
core/src/config.rs(+1 -1)📝
core/src/connection/codec.rs(+2 -1)📝
core/src/connection/handshake.rs(+14 -12)📝
core/src/connection/mod.rs(+28 -18)📝
core/src/diffie_hellman.rs(+13 -8)...and 26 more files
📄 Description
A lot of noise, but I guess its time to bit the bullet and move on.
Probably also a good time to review our
rustfmtconfig - we set amax_widthof 105 instead of the default 100. Not sure why?PS: Also added a format check to Travis, might need a few iterations to get it to work.
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.