mirror of
https://github.com/librespot-org/librespot.git
synced 2026-04-27 08:15:50 +03:00
[PR #423] [MERGED] Migrate to rust 2018 edition #917
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#917
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/423
Author: @marcelbuesing
Created: 1/17/2020
Status: ✅ Merged
Merged: 1/24/2020
Merged by: @sashahilton00
Base:
dev← Head:rust-2018📝 Commits (4)
be2ad90Migrate to rust 2018 editiond26590aUpdate to Rust 201838d82f2Rerun rustfmt on full codebasec9147d3Turn child crates into rust 2018 edition📊 Changes
55 files changed (+448 additions, -324 deletions)
View changed files
📝
.travis.yml(+2 -0)📝
Cargo.toml(+1 -0)📝
audio/Cargo.toml(+1 -0)📝
audio/src/decrypt.rs(+5 -8)📝
audio/src/fetch.rs(+43 -19)📝
audio/src/lib.rs(+1 -1)📝
audio/src/libvorbis_decoder.rs(+2 -2)📝
audio/src/range_set.rs(+13 -4)📝
connect/Cargo.toml(+1 -0)📝
connect/src/context.rs(+2 -2)📝
connect/src/discovery.rs(+28 -27)📝
connect/src/lib.rs(+2 -2)📝
connect/src/spirc.rs(+44 -22)📝
core/Cargo.toml(+1 -0)📝
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)...and 35 more files
📄 Description
Migrated to rust 2018 edition using
cargo fixand removedextern crateas this is redundant in Rust 2018. For more details about the transition here.🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.