Decision Workspace
xad-rs vs amari-dual vs ad_trait
Side-by-side comparison of Rust crates
48
xad-rs
experimentalv0.8.2
Exact automatic differentiation for Rust — forward-mode, reverse-mode, first- and second-order, with named variable support and a unified `Real` trait for mode-agnostic numerical code
61
amari-dual
experimentalv0.23.0
Forward-mode dual number automatic differentiation for optimization workloads
56
ad_trait
growingv0.3.1
Easy to use, efficient, and highly flexible automatic differentiation in Rust
Core Metrics
| xad-rs | amari-dual | ad_trait | |
|---|---|---|---|
| Health Score | 48 | 61 | 56 |
| Total Downloads | 141 | 6.0K | 14.8K |
| 30d Downloads | 0 | 0 | 8.1K |
| Dependents | 0 | 206 | 64 |
| Releases | 11 | 35 | 13 |
| Last Updated | 10d ago | 2d ago | 2d ago |
| Age | 1m | 7m | 1y |
Health Breakdown
xad-rs
Maintenance
12
Quality
12
Community
6
Popularity
3
Documentation
15
amari-dual
Maintenance
19
Quality
15
Community
12
Popularity
5
Documentation
10
ad_trait
Maintenance
19
Quality
14
Community
8
Popularity
5
Documentation
10
Technical Details
| xad-rs | amari-dual | ad_trait | |
|---|---|---|---|
| Version | 0.8.2 | 0.23.0 | 0.3.1 |
| Stable (≥1.0) | ✗ No | ✗ No | ✗ No |
| License | AGPL-3.0-or-later | MIT OR Apache-2.0 | MIT OR Apache-2.0 |
| Dependencies | 4 | 11 | 14 |
| Crate Size | 110KB | 40KB | 765KB |
| Features | 0 | 9 | 9 |
| Yanked % | 0.0% | 0.0% | 0.0% |
| Edition | 2024 | 2021 | 2021 |
| MSRV | 1.85 | — | — |
| Owners | 1 | 1 | 1 |
Links
Quick Verdict
- •amari-dual leads with a health score of 61/100, but none of the options score above 80.
- •ad_trait has the most downloads (14.8K), suggesting wider adoption.
- •amari-dual is depended on by 206 crates — strongest ecosystem trust.