rustio rustio.net
65

bson

v3.1.0 Stable

Encoding and decoding support for BSON in Rust

MIT Edition 2021 MSRV 1.81
Encoding #serialization#serde#mongodb#bson#deserialization

Quick Verdict

  • โœ“Stable API (3.x for 10+ years)
  • โœ“Massive adoption (5.1K crates depend on it)
  • !Heavy dependency tree (30 direct deps)
  • โœ“Permissive license (MIT)

Security

Checking security advisories...
Downloads
16.1M
Dependents
5.1K
Releases
72
Size
137KB

Deep Insights

๐Ÿ“ˆ
Strong growth momentum

1.5M downloads in the last 30 days (49.2K/day), up 63% from the previous period.

๐Ÿ”—
Widely adopted

5.1K crates depend on bson. Strong ecosystem adoption means battle-tested code and long-term stability.

โš ๏ธ
Single maintainer risk

bson has only 1 owner despite 5.1K dependents. This is a bus-factor concern โ€” consider the implications for long-term support.

โœ…
Stable for 10+ years

The API has been stable (1.x) for over 10 years with 72 releases. This level of maturity means you can depend on it without worrying about breaking changes.

๐Ÿ“ฆ
Heavy dependency tree

30 direct dependencies. Consider the impact on compile times and supply chain complexity.

๐ŸŒŸ
Used by top crates

Notable dependents include borsh, async-graphql, fake, mongodb, ts-rs. When high-quality crates choose bson, it's a strong quality signal.

Health Breakdown

Maintenance 13/25

Recency, release consistency, active ratio

Quality 18/25

Yanked ratio, deps, size, maturity, features

Community 14/20

Reverse deps, ownership, ecosystem

Popularity 8/15

Downloads, momentum, growth trend

Documentation 12/15

Docs, repo, license, metadata

Download Trend

Daily downloads ยท last 90 days
33K/day avg+125%
020K40K60K80K12/291/162/32/213/113/28

Top Dependents

Version Adoption

v2.15.0
49%
v2.13.0
18%
v1.2.4
12%
v2.7.0
11%
v2.11.0
10%

Release Timeline

72 releases2 yankedsince 2015
J
F
M
A
M
J
J
A
S
O
N
D
2015
6
2016
5
2017
14
2018
7
2019
2
2020
5
2021
13
2022
5
2023
6
2024
5
2025
4
2026
Less
More|
Yanked

Feature Flags

default =["compat-3-0-0"]

serdeuuid-1jiff-0_2time-0_3chrono-0_4large_datescompat-3-0-0*serde_json-1serde_with-3serde_path_to_error

README

Loading README...

Maintainers

Dependencies
30
direct dependencies
Dependents
5.1K
crates depend on bson

Similar Crates