Skip to content

Commit

Permalink
Document msrv feature
Browse files Browse the repository at this point in the history
  • Loading branch information
RunDevelopment committed Dec 8, 2024
1 parent 49f6c4d commit 7512b07
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,16 @@
//! This feature currently enables the `std` feature, meaning that it is not
//! compatible with `no_std` environments.
//!
//! ### `msrv` (default)
//!
//! Enables Rust language features that requires a higher MSRV. Enabling this
//! feature on older compilers will NOT result in a compilation error, the newer
//! language features will simply not be used.
//!
//! Right now, this feature only enables the use of
//! `diagnostic::on_unimplemented` (Rust 1.78 or later) to provide better error
//! messages.
//!
//! ### `std` (default)
//!
//! Enabling this feature will make the crate depend on the Rust standard library.
Expand Down

0 comments on commit 7512b07

Please sign in to comment.