Skip to content

Commit 7910f07

Browse files
committed
RUST-730 Document MSRV policy
1 parent 9d79e45 commit 7910f07

File tree

2 files changed

+10
-0
lines changed

2 files changed

+10
-0
lines changed

README.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -186,6 +186,11 @@ separate the "business logic" that operates over the data from the (de)serializa
186186
translates the data to/from its serialized form. This can lead to more clear and concise code
187187
that is also less error prone.
188188

189+
## Minimum supported Rust version (MSRV)
190+
191+
The MSRV for this crate is currently 1.48.0. This will be rarely be increased, and if it ever is,
192+
it will only happen in a minor or major version release.
193+
189194
## Contributing
190195

191196
We encourage and would happily accept contributions in the form of GitHub pull requests. Before opening one, be sure to run the tests locally; check out the [testing section](#running-the-tests) for information on how to do that. Once you open a pull request, your branch will be run against the same testing matrix that we use for our [continuous integration](#continuous-integration) system, so it is usually sufficient to only run the integration tests locally against a standalone. Remember to always run the linter tests before opening a pull request.

src/lib.rs

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -181,6 +181,11 @@
181181
//! separate the "business logic" that operates over the data from the (de)serialization logic that
182182
//! translates the data to/from its serialized form. This can lead to more clear and concise code
183183
//! that is also less error prone.
184+
//!
185+
//! ## Minimum supported Rust version (MSRV)
186+
//!
187+
//! The MSRV for this crate is currently 1.48.0. This will be rarely be increased, and if it ever is,
188+
//! it will only happen in a minor or major version release.
184189
185190
#![allow(clippy::cognitive_complexity)]
186191
#![doc(html_root_url = "https://docs.rs/bson/2.0.0-beta.3")]

0 commit comments

Comments
 (0)