mirror of
https://github.com/ramsayleung/rspotify.git
synced 2026-04-26 07:55:55 +03:00
[PR #110] [MERGED] Reduce core dependencies #249
Labels
No labels
Stale
bug
discussion
enhancement
good first issue
good first issue
help wanted
pull-request
question
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/rspotify#249
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/ramsayleung/rspotify/pull/110
Author: @ramsayleung
Created: 8/14/2020
Status: ✅ Merged
Merged: 8/28/2020
Merged by: @ramsayleung
Base:
master← Head:reduce-core-dependencies📝 Commits (10+)
22e9ec8Replace rand with getrandom.c98a577replacing rand with getrandom to reduce binary size and compilation time.88c97baMerge branch 'reduce-core-dependencies' of github.com:samrayleung/rspotify into reduce-core-dependencies08ded2bMerge branch 'master' into reduce-core-dependenciesd36adb0Change alphanum from global variable to a local variable, update description off6caa06Change rand dependency into getrandom09ee436Moved static variable inside functionbe15092Optional webbrowser feature2841d99Optional dotenv feature6d6cbdfInitial documentation work📊 Changes
14 files changed (+219 additions, -88 deletions)
View changed files
📝
.github/workflows/ci.yml(+1 -0)📝
CHANGELOG.md(+20 -1)📝
Cargo.toml(+43 -12)📝
examples/webapp/Cargo.toml(+2 -4)📝
examples/webapp/src/main.rs(+11 -12)📝
examples/with_refresh_token.rs(+0 -3)📝
src/blocking/client.rs(+31 -10)📝
src/blocking/oauth2.rs(+8 -3)📝
src/blocking/util.rs(+14 -7)📝
src/client.rs(+26 -8)📝
src/lib.rs(+39 -14)📝
src/oauth2.rs(+8 -3)📝
src/util.rs(+14 -6)📝
tests/test_with_oauth.rs(+2 -5)📄 Description
Reducing core dependencies, check this issue https://github.com/ramsayleung/rspotify/issues/108 for more details:
randwith a lightweight replacementgetrandomdotenvdependencybrowserdependency🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.