Skip to content

Bump version to 0.2.2 and update dependencies - #4

Merged
TrVHau merged 1 commit into
mainfrom
dev
Mar 24, 2026
Merged

TrVHau merged 1 commit into
mainfrom
dev

Conversation

@TrVHau

@TrVHau TrVHau commented Mar 24, 2026

Copy link
Copy Markdown
Owner
  • Updated Rust version requirement to 1.87.
  • Modified dependencies:
    • chrono now has default features disabled with specific features enabled.
    • Updated crossterm to version 0.29.
    • Updated rodio to version 0.22.2 with default features disabled and specific features enabled.
    • Updated ratatui to version 0.30.0 with default features disabled and specific features enabled.
    • Updated rusqlite to version 0.39.0 with default features disabled and specific features enabled.
    • Updated toml to version 0.9.8.

Refactor playback logic

  • Refactored playback handling in playback.rs and control.rs to use MixerDeviceSink.
  • Updated build_sink function to return RodioPlayer instead of Sink.
  • Adjusted the way tracks are played and seeked in the player.

Enhance playlist management

  • Added logic to prevent duplicate tracks in the same playlist in playlists.rs.
  • Improved tests for playlist item addition to ensure duplicates are ignored.

Code style improvements

  • Cleaned up formatting and improved readability in various files, including modes.rs, normal.rs, chrome.rs, playback.rs, visualizer.rs, and playlists.rs.
  • Ensured consistent use of match statements and formatting across the codebase.

Summary

Describe what changed and why.

Testing

  • cargo fmt
  • cargo test
  • cargo clippy --all-targets --all-features -- -D warnings

Docs Impact

  • No docs impact
  • Docs updated in this PR
  • Docs follow-up PR required (explain below)

If docs follow-up is required, explain:

Release/Readiness Checklist

  • Release notes reference reviewed (docs/README.md or explicit release notes path)
  • config/docs-sync-checklist.md reviewed/updated for this change
  • Release gate evidence attached (local run output or CI link)

- Updated Rust version requirement to 1.87.
- Modified dependencies:
  - `chrono` now has default features disabled with specific features enabled.
  - Updated `crossterm` to version 0.29.
  - Updated `rodio` to version 0.22.2 with default features disabled and specific features enabled.
  - Updated `ratatui` to version 0.30.0 with default features disabled and specific features enabled.
  - Updated `rusqlite` to version 0.39.0 with default features disabled and specific features enabled.
  - Updated `toml` to version 0.9.8.

Refactor playback logic

- Refactored playback handling in `playback.rs` and `control.rs` to use `MixerDeviceSink`.
- Updated `build_sink` function to return `RodioPlayer` instead of `Sink`.
- Adjusted the way tracks are played and seeked in the player.

Enhance playlist management

- Added logic to prevent duplicate tracks in the same playlist in `playlists.rs`.
- Improved tests for playlist item addition to ensure duplicates are ignored.

Code style improvements

- Cleaned up formatting and improved readability in various files, including `modes.rs`, `normal.rs`, `chrome.rs`, `playback.rs`, `visualizer.rs`, and `playlists.rs`.
- Ensured consistent use of match statements and formatting across the codebase.
@TrVHau
TrVHau merged commit cdc7b70 into main Mar 24, 2026
1 check failed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant