Ross ROSS = Recommend OSS · open-source software intelligence for agents

mitsuhiko/similar

A high level diffing library for rust based on diffs observed · 2026-08-28

github.com/mitsuhiko/similar · homepage · Rust · Apache-2.0 (permissive) observed · 2026-08-28

Health v2 · maintenance only

76/100

  • Activity 98
  • Release rhythm 35
  • Longevity 100

Flags: no_releases

How is this computed?

round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10) — computed 2026-09-03. Adoption (stars, forks) is never an input.

  • gap_med: n/a
  • age_days: 2054
  • days_rel: n/a
  • days_push: 16
  • n_releases_24m: 0

Full methodology

Adoption not part of the score

1311 stars · 54 forks observed · 2026-08-28

What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-30, confidence not recorded

Similar is a dependency-free Rust crate implementing multiple diffing algorithms (Myers, patience, histogram, LCS) with high-level interfaces for text, byte, and arbitrary sequence diffing. It supports unified diff generation, line/word/character-level diffing, and structured three-way merging with diff3 conflict output.

Use cases

  • compute diffs between two texts in Rust
  • generate unified diff output for patches
  • diff files line by line or word by word
  • perform three-way merges with conflict markers
  • compare arbitrary sequences of comparable items
  • build snapshot testing tools with diff output
  • use a diff library in no_std embedded Rust

When to choose

  • you need a pure-Rust, dependency-free diffing library
  • you want multiple diff algorithms to choose from
  • you need unified diff or diff3 merge output
  • you target no_std environments

When to avoid

  • you need a command-line diff tool rather than a library
  • you work outside the Rust ecosystem
  • you need binary file diffing beyond byte-level comparison

Facets

library · maturity stable

parser developer-tools developer-tools text-editors version-control rust cross-platform diff unified-diff patience-diff myers-diff three-way-merge no-std snapshot-testing

5 sources

Member repositories

RepositoryRoleHealth v2
mitsuhiko/similarmain76

For agents

markdown · JSON · MCP: product_card(name="mitsuhiko/similar")

Data as of 2026-08-30T08:39:29.467469+00:00 · Report a problem