[PR #5] [MERGED] Split codebase into multiple modules #1650

Closed
opened 2026-05-23 03:58:22 +01:00 by JakeStanger · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/JakeStanger/mpd-discord-rpc/pull/5
Author: @JakeStanger
Created: 3/21/2020
Status: Merged
Merged: 3/21/2020
Merged by: @JakeStanger

Base: masterHead: ref/split-code


📝 Commits (2)

  • bd11b51 refactor: split codebase into multiple modules
  • 2837e47 chore(release): v1.1.2

📊 Changes

6 files changed (+128 additions, -116 deletions)

View changed files

📝 Cargo.lock (+1 -1)
📝 Cargo.toml (+1 -1)
src/config.rs (+59 -0)
src/defaults.rs (+8 -0)
📝 src/main.rs (+15 -114)
src/mpd_conn.rs (+44 -0)

📄 Description

File was getting a bit long, so seemed like a good time to learn how modules work.

Also config now uses impl structure so that's tidied up a little bit.


🔄 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/JakeStanger/mpd-discord-rpc/pull/5 **Author:** [@JakeStanger](https://github.com/JakeStanger) **Created:** 3/21/2020 **Status:** ✅ Merged **Merged:** 3/21/2020 **Merged by:** [@JakeStanger](https://github.com/JakeStanger) **Base:** `master` ← **Head:** `ref/split-code` --- ### 📝 Commits (2) - [`bd11b51`](https://github.com/JakeStanger/mpd-discord-rpc/commit/bd11b512ac4c0d3837691222a193ea9a59018571) refactor: split codebase into multiple modules - [`2837e47`](https://github.com/JakeStanger/mpd-discord-rpc/commit/2837e472c345495a4d854575855972dd62bd24e2) chore(release): v1.1.2 ### 📊 Changes **6 files changed** (+128 additions, -116 deletions) <details> <summary>View changed files</summary> 📝 `Cargo.lock` (+1 -1) 📝 `Cargo.toml` (+1 -1) ➕ `src/config.rs` (+59 -0) ➕ `src/defaults.rs` (+8 -0) 📝 `src/main.rs` (+15 -114) ➕ `src/mpd_conn.rs` (+44 -0) </details> ### 📄 Description File was getting a bit long, so seemed like a good time to learn how modules work. Also config now uses `impl` structure so that's tidied up a little bit. --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
JakeStanger 2026-05-23 03:58:22 +01: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
JakeStanger/mpd-discord-rpc#1650
No description provided.