mirror of
https://github.com/ramsayleung/rspotify.git
synced 2026-04-26 07:55:55 +03:00
[PR #325] [MERGED] Remove undocumented modules containing one item #395
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#395
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/325
Author: @SabrinaJewson
Created: 6/15/2022
Status: ✅ Merged
Merged: 6/15/2022
Merged by: @marioortizmanero
Base:
master← Head:remove-modules📝 Commits (3)
afaf5d5Removeauth_code[_pkce]andclient_credsmodulesf642923Removeclients::{base, oauth}a6cac3fDocument modules removal in changelog📊 Changes
3 files changed (+10 additions, -5 deletions)
View changed files
📝
CHANGELOG.md(+5 -0)📝
src/clients/mod.rs(+2 -2)📝
src/lib.rs(+3 -3)📄 Description
Description
This removes the modules
auth_code,auth_code_pkce,client_creds,clients::baseandclients::oauthfrom the public API surface.Motivation and Context
These modules are unnecessary because they only export a single item which has the same name as the module itself anyway. Documentation is easier to navigate if they’re not present.
I left out
mutexbecause I have other plans for that module.Dependencies
None.
Type of change
How has this been tested?
Please describe the tests that you ran to verify your changes. Provide instructions so we can reproduce.
Please also list any relevant details for your test configuration
cargo test --features env-fileIs this change properly documented?
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.