Skip to content

refactor(daedalus_client): replace serde-xml-rs with quick-xml - #7185

Merged
mergify[bot] merged 1 commit into
modrinth:mainfrom
exefer:refactor/daedalus-client-quick-xml
Aug 20, 2026
Merged

refactor(daedalus_client): replace serde-xml-rs with quick-xml#7185
mergify[bot] merged 1 commit into
modrinth:mainfrom
exefer:refactor/daedalus-client-quick-xml

Conversation

@exefer

@exefer exefer commented Aug 17, 2026

Copy link
Copy Markdown
Contributor

serde-xml-rs was only used in daedalus_client for parsing Forge/NeoForge maven-metadata.xml. quick-xml has become the standard XML (de)serializer for Rust and is already used elsewhere in the workspace, so this switches daedalus_client over and drops the now-unused serde-xml-rs dependency. No functional change, verified quick-xml's serde deserialization against the existing Metadata/Versioning/Versions structs.

quick-xml is already the de facto XML (de)serializer used
elsewhere in the workspace (labrinth, app-lib), so consolidate
on it here too. Its serde feature deserializes the existing
maven-metadata.xml structs without any changes. Drops one
redundant dependency from the workspace.
@github-actions

Copy link
Copy Markdown
Contributor

Pull request changelog

App

Added

Changed

Deprecated

Removed

Fixed

Security

Website

Added

Changed

Deprecated

Removed

Fixed

Security

Hosting

Added

Changed

Deprecated

Removed

Fixed

Security

@Prospector
Prospector requested a review from a team August 20, 2026 17:29
@exefer
exefer force-pushed the refactor/daedalus-client-quick-xml branch from 5782fea to 3f2d3e0 Compare August 20, 2026 17:33
Comment thread apps/daedalus_client/src/error.rs Outdated
@exefer
exefer force-pushed the refactor/daedalus-client-quick-xml branch from 3f2d3e0 to 5315551 Compare August 20, 2026 17:39
@Prospector
Prospector requested a review from Sychic August 20, 2026 17:42
Comment thread apps/daedalus_client/Cargo.toml Outdated
@exefer
exefer force-pushed the refactor/daedalus-client-quick-xml branch from 5315551 to 2080952 Compare August 20, 2026 17:52
@Sychic

Sychic commented Aug 20, 2026

Copy link
Copy Markdown
Member

@Mergifyio queue

@mergify

mergify Bot commented Aug 20, 2026

Copy link
Copy Markdown

Merge Queue Status

This pull request spent 17 minutes 57 seconds in the queue, including 16 minutes 38 seconds running CI.

Required conditions to merge

@mergify mergify Bot added the queued label Aug 20, 2026
@mergify
mergify Bot merged commit 5d54cfa into modrinth:main Aug 20, 2026
14 checks passed
@mergify mergify Bot removed the queued label Aug 20, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

2 participants