[PR #167] [MERGED] explicitly forbid having both client features enabled #282

Closed
opened 2026-02-27 20:24:05 +03:00 by kerem · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/ramsayleung/rspotify/pull/167
Author: @icewind1991
Created: 12/17/2020
Status: Merged
Merged: 12/24/2020
Merged by: @marioortizmanero

Base: masterHead: forbid-both-clients


📝 Commits (2)

  • 21bb983 explicitly forbid having both client features enabled
  • 1675835 formatting

📊 Changes

1 file changed (+14 additions, -0 deletions)

View changed files

📝 src/lib.rs (+14 -0)

📄 Description

Description

Instead of showing various duplicate definition errors when a user tries to compile the library with both client features, provide a meaningful error message explaining that both features can't be enabled at the same time.


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/ramsayleung/rspotify/pull/167 **Author:** [@icewind1991](https://github.com/icewind1991) **Created:** 12/17/2020 **Status:** ✅ Merged **Merged:** 12/24/2020 **Merged by:** [@marioortizmanero](https://github.com/marioortizmanero) **Base:** `master` ← **Head:** `forbid-both-clients` --- ### 📝 Commits (2) - [`21bb983`](https://github.com/ramsayleung/rspotify/commit/21bb983e0f45b6f54b59d065843a3c3c3ea03ee6) explicitly forbid having both client features enabled - [`1675835`](https://github.com/ramsayleung/rspotify/commit/167583596999bb18604f37c330d66d7345d5d05c) formatting ### 📊 Changes **1 file changed** (+14 additions, -0 deletions) <details> <summary>View changed files</summary> 📝 `src/lib.rs` (+14 -0) </details> ### 📄 Description ## Description Instead of showing various `duplicate definition` errors when a user tries to compile the library with both client features, provide a meaningful error message explaining that both features can't be enabled at the same time. --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
kerem 2026-02-27 20:24:05 +03:00
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/rspotify#282
No description provided.