Skip to content

feat: Parsec was behind Netweir's parser by eleven changes - #65

Merged
jamesconwaydev merged 1 commit into
mainfrom
sync-netweir-6dec70c
Nov 9, 2026
Merged

jamesconwaydev merged 1 commit into
mainfrom
sync-netweir-6dec70c

Conversation

@jamesconwaydev

@jamesconwaydev jamesconwaydev commented Nov 9, 2026 •

Copy link
Copy Markdown
Collaborator

Problem

crates/parsec was synced from Netweir at 90fcd03. Eleven parser changes have landed in Netweir's crates/netweir-html since then.

Change

This syncs from Netweir 6dec70c with scripts/sync-from-netweir.sh ../scraper. It brings in:

Two changes go beyond the copy:

  • tests/threads.rs is added to the files the sync copies, since it wasn't on the list.
  • url is added to the dependencies: :valid uses it on an <input type=url>. cargo deny check passes with it.

Tests

scripts/check-headers.sh and scripts/sync-from-netweir.sh --check ../scraper pass. So do cargo fmt --check, cargo clippy --all-targets -- -D warnings, cargo test and cargo deny check.

Syncs crates/parsec from Netweir 6dec70c: :lang(), :valid and :invalid
with pattern, parse_fragment's budget, Document kept Send and Sync, and
the set_attr and serializer fixes. tests/threads.rs is synced now too,
and url joins the dependencies, for type=url in :valid.
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