difflib
v0.4.0 GrowingPort of Python's difflib library to Rust.
Quick Verdict
- โNot updated for 7+ years
- !Pre-1.0: API may have breaking changes
- โTrusted by 531 crates
- โTiny footprint (8KB, 0 deps)
- โPermissive license (MIT)
Security
Deep Insights
6.8M downloads in the last 30 days (226.7K/day), up 41% from the previous period.
531 crates depend on difflib. Reasonable ecosystem adoption, though not yet a core dependency.
Despite being 10+ years old, difflib hasn't reached 1.0 yet. Expect potential API changes between versions.
difflib has no external dependencies โ minimal supply chain risk and fast compile times.
At 7KB, difflib is lightweight. Small crate size correlates with focused, well-scoped functionality.
Notable dependents include predicates, json-structural-diff, typos-cli, breezyshim, debian-analyzer. When high-quality crates choose difflib, it's a strong quality signal.
Health Breakdown
Recency, release consistency, active ratio
Yanked ratio, deps, size, maturity, features
Reverse deps, ownership, ecosystem
Downloads, momentum, growth trend
Docs, repo, license, metadata