yoshuawuyts/components

[component] diffmark — unified diff/patch parser & applier

Open

#2 geöffnet am 1. Mai 2026

Auf GitHub ansehen
 (0 Kommentare) (0 Reaktionen) (0 zugewiesene Personen)Rust (1 Fork)github user discovery
good first issue

Repository-Metriken

Stars
 (1 Star)
PR-Merge-Metriken
 (PR-Metriken ausstehend)

Beschreibung

Goal

Component to parse, apply, and generate unified diffs/patches correctly for Markdown and/or generic text. Useful for document/code review automation.

Scope/Features

  • Parse "diff" format patches
  • Apply patches to strings
  • Optionally: generate patches from pairs

Rough WIT shape

  • parse(input: string) -> list<patch>
  • apply(input: string, patch: patch) -> string
  • generate(original: string, modified: string) -> patch

Candidate crates

Labels

  • good first issue

Compact problem, well-scoped for new contributors.

Contributor Guide