Decision Workspace
serde_with_object_id vs bson vs bson2
Side-by-side comparison of Rust crates
36
serde_with_object_id
growingv0.1.0
serde_with_object_id
61
bson
growingv3.1.0
Encoding and decoding support for BSON in Rust
50
bson2
growingv2.0.3
Encoding and decoding support for BSON in Rust
Core Metrics
| serde_with_object_id | bson | bson2 | |
|---|---|---|---|
| Health Score | 36 | 61 | 50 |
| Total Downloads | 1.9K | 27.7M | 8.6K |
| 30d Downloads | 0 | 0 | 0 |
| Dependents | 0 | 5.9K | 26 |
| Releases | 1 | 72 | 4 |
| Last Updated | 1271d ago | 323d ago | 1789d ago |
| Age | 3y 5m | 11y 4m | 4y 10m |
Health Breakdown
serde_with_object_id
Maintenance
1
Quality
15
Community
6
Popularity
4
Documentation
10
bson
Maintenance
9
Quality
18
Community
14
Popularity
8
Documentation
12
bson2
Maintenance
9
Quality
18
Community
9
Popularity
5
Documentation
9
Technical Details
| serde_with_object_id | bson | bson2 | |
|---|---|---|---|
| Version | 0.1.0 | 3.1.0 | 2.0.3 |
| Stable (≥1.0) | ✗ No | ✓ Yes | ✓ Yes |
| License | MIT | MIT | MIT |
| Dependencies | 3 | 30 | 18 |
| Crate Size | 2KB | 137KB | 101KB |
| Features | 0 | 11 | 3 |
| Yanked % | 0.0% | 2.8% | 0.0% |
| Edition | 2021 | 2021 | 2018 |
| MSRV | — | 1.81 | — |
| Owners | 1 | 1 | 1 |
Links
Quick Verdict
- •bson leads with a health score of 61/100, but none of the options score above 80.
- •bson is depended on by 5.9K crates — strongest ecosystem trust.
- •⚠ serde_with_object_id, bson2 have not been updated in over a year.
- •serde_with_object_id is pre-1.0 — API may change.