Decision Workspace
docxtpl-template vs docxtpl-rich vs docxtpl-xml
Side-by-side comparison of Rust crates
53
docxtpl-template
experimentalv1.3.2
Template rendering pipeline: patch_xml → MiniJinja rendering → resolve_listing → fix_tables/fix_docpr
56
docxtpl-rich
experimentalv1.3.2
Rich content value types: RichText/RichTextParagraph/Listing/InlineImage and image header parsing, byte-for-byte aligned with docxtpl 0.20.2 and python-docx 1.2.0
56
docxtpl-xml
experimentalv1.3.2
Editable XML fragment layer: lenient (recovery) parsing, tree model, preserving serialization, and position tracking
Core Metrics
| docxtpl-template | docxtpl-rich | docxtpl-xml | |
|---|---|---|---|
| Health Score | 53 | 56 | 56 |
| Total Downloads | 163 | 179 | 180 |
| 30d Downloads | 0 | 0 | 0 |
| Dependents | 7 | 14 | 14 |
| Releases | 7 | 7 | 7 |
| Last Updated | 8d ago | 8d ago | 8d ago |
| Age | 13d | 13d | 13d |
Health Breakdown
docxtpl-template
Maintenance
16
Quality
14
Community
8
Popularity
3
Documentation
12
docxtpl-rich
Maintenance
16
Quality
16
Community
9
Popularity
3
Documentation
12
docxtpl-xml
Maintenance
16
Quality
16
Community
9
Popularity
3
Documentation
12
Technical Details
| docxtpl-template | docxtpl-rich | docxtpl-xml | |
|---|---|---|---|
| Version | 1.3.2 | 1.3.2 | 1.3.2 |
| Stable (≥1.0) | ✓ Yes | ✓ Yes | ✓ Yes |
| License | LGPL-2.1-only | LGPL-2.1-only | LGPL-2.1-only |
| Dependencies | 9 | 2 | 3 |
| Crate Size | 72KB | 37KB | 57KB |
| Features | 0 | 0 | 0 |
| Yanked % | 0.0% | 0.0% | 0.0% |
| Edition | 2021 | 2021 | 2021 |
| MSRV | 1.85 | 1.85 | 1.85 |
| Owners | 1 | 1 | 1 |
Links
Quick Verdict
- •docxtpl-rich leads with a health score of 56/100, but none of the options score above 80.
- •docxtpl-xml has the most downloads (180), suggesting wider adoption.