yoshuawuyts/components

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

Open

#2 创建于 2026年5月1日

在 GitHub 查看
 (0 评论) (0 反应) (0 负责人)Rust (1 fork)github user discovery
good first issue

仓库指标

Star
 (1 star)
PR 合并指标
 (PR 指标待抓取)

描述

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.

贡献者指南