Decision Workspace
ts-canon vs dup-defs-core vs py-canon
Side-by-side comparison of Rust crates
50
ts-canon
experimentalv0.2.0
TypeScript source → structural canonicalization + module-level definition scan (oxc parser). The TypeScript frontend for find-dup-defs.
53
dup-defs-core
experimentalv0.2.2
The find-dup-defs frontend↔engine contract — Def / KindSpec / Analysis / the Frontend trait (+ LineMap). Frontend-agnostic; both py-canon and ts-canon depend on it.
52
py-canon
experimentalv0.4.1
Python source → CPython ast.dump-shape canonicalization + module-level definition scan (Ruff parser). The Python frontend for find-dup-defs.
Core Metrics
| ts-canon | dup-defs-core | py-canon | |
|---|---|---|---|
| Health Score | 50 | 53 | 52 |
| Total Downloads | 226 | 520 | 264 |
| 30d Downloads | 0 | 0 | 0 |
| Dependents | 14 | 29 | 18 |
| Releases | 6 | 8 | 7 |
| Last Updated | 43d ago | 35d ago | 35d ago |
| Age | 4m | 4m | 4m |
Health Breakdown
ts-canon
Maintenance
16
Quality
12
Community
9
Popularity
3
Documentation
10
dup-defs-core
Maintenance
17
Quality
14
Community
9
Popularity
3
Documentation
10
py-canon
Maintenance
17
Quality
13
Community
9
Popularity
3
Documentation
10
Technical Details
| ts-canon | dup-defs-core | py-canon | |
|---|---|---|---|
| Version | 0.2.0 | 0.2.2 | 0.4.1 |
| Stable (≥1.0) | ✗ No | ✗ No | ✗ No |
| License | MIT | MIT | MIT |
| Dependencies | 8 | 1 | 7 |
| Crate Size | 40KB | 18KB | 60KB |
| Features | 0 | 0 | 0 |
| Yanked % | 0.0% | 0.0% | 0.0% |
| Edition | 2021 | 2021 | 2021 |
| MSRV | — | — | — |
| Owners | 1 | 1 | 1 |
Links
Quick Verdict
- •dup-defs-core leads with a health score of 53/100, but none of the options score above 80.