0.100.0 - This version may not be safe as it has not been updated for a long time. Find out if your coding project uses this component and get notified of any reported security vulnerabilities with Meterian-X Open Source Security Platform
Maintain your licence declarations and avoid unwanted licences to protect your IP the way you intended.
MIT - MIT LicenseConditional compilation according manifest MSRV.
Conditional compilation according manifest MSRV.
#[rustversion_msrv::msrv]
True on the call-site crate's rust-version field, i.e., its minimum supported Rust
version (MSRV).
The motivating use case for the msrv macro in this crate is to ensure a stable compiler error
output when running negative trybuild tests. Guarding your test function like this means you
only need to update the .stderr files when you bump your MSRV, not (potentially) every stable
release (or worse). Of course, try make sure that your CI is actually running an MSRV job in its
set.
#[rustversion_msrv::msrv]
#[test]
fn trybuild() {
// ...
}