Thanks to visit codestin.com
Credit goes to Github.com

Skip to content

refactor: replace kuchikiki with dom_query#1671

Open
thomaseizinger wants to merge 13 commits intotauri-apps:devfrom
thomaseizinger:chore/replace-kuchikiki-domquery
Open

refactor: replace kuchikiki with dom_query#1671
thomaseizinger wants to merge 13 commits intotauri-apps:devfrom
thomaseizinger:chore/replace-kuchikiki-domquery

Conversation

@thomaseizinger
Copy link

The kuchikiki dependency has not been actively maintained in a while and pulls in a lot of old dependencies. We can replace fairly easily with the more maintained dom_query crate.

See tauri-apps/tauri#14958 for details.

@thomaseizinger thomaseizinger requested a review from a team as a code owner February 17, 2026 05:22
@thomaseizinger
Copy link
Author

I noticed that this code doesn't have any tests. Should we extract this into a non-Android gated module somewhere and write some tests that can run in CI?

@github-actions
Copy link
Contributor

github-actions bot commented Feb 17, 2026

Package Changes Through 26079bd

No changes.

Add a change file through the GitHub UI by following this link.


Read about change files or the docs at github.com/jbolda/covector

@FabianLars
Copy link
Member

thanks for the pr! much appreciated :) cargo update derive_more --precise 2.0.1 or something like that should fix CI error.

I noticed that this code doesn't have any tests. Should we extract this into a non-Android gated module somewhere and write some tests that can run in CI?

Sounds reasonable but it wouldn't be a blocker for me

@thomaseizinger
Copy link
Author

thanks for the pr! much appreciated :) cargo update derive_more --precise 2.0.1 or something like that should fix CI error.

Done!

@thomaseizinger
Copy link
Author

I noticed that this code doesn't have any tests. Should we extract this into a non-Android gated module somewhere and write some tests that can run in CI?

Sounds reasonable but it wouldn't be a blocker for me

I don't want to break anything so I'll see to write a test for this.

@Legend-Master
Copy link
Contributor

Legend-Master commented Feb 17, 2026

I have not got the time to take a closer look yet, just from a quick browse, it seems like there's https://crates.io/crates/scraper which is much more popular, do we have any reason choosing dom_query over it?

Never mind, its main branch moved to edition 2024 last month which requires a MSRV bump

@FabianLars
Copy link
Member

Never mind, its main branch moved to edition 2024 last month which requires a MSRV bump

wouldn't be a blocker imo. we're getting closer to edition 2024 by the day

@thomaseizinger
Copy link
Author

I'd prefer merging something sooner and not blocking on an MSRV upgrade. Once the tests are in place, it should be easy to migrate though.

@thomaseizinger thomaseizinger force-pushed the chore/replace-kuchikiki-domquery branch from a10128f to 1fa48b3 Compare February 17, 2026 22:51
Copy link
Contributor

@Legend-Master Legend-Master left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Seems like the failed miri test is from servo/stylo#299

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.

3 participants