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
65
bson
stablev3.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 | 65 | 50 |
| Total Downloads | 1.9K | 16.1M | 8.4K |
| 30d Downloads | 4 | 1.4M | 28 |
| Dependents | 0 | 5.1K | 26 |
| Releases | 1 | 72 | 4 |
| Last Updated | 1075d ago | 127d ago | 1592d ago |
| Age | 2y 11m | 10y 9m | 4y 4m |
Health Breakdown
serde_with_object_id
Maintenance
1
Quality
15
Community
6
Popularity
4
Documentation
10
bson
Maintenance
13
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 65/100, but none of the options score above 80.
- •bson is depended on by 5.1K 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.