diff --git a/README.md b/README.md index 507148d0..dc778ca1 100644 --- a/README.md +++ b/README.md @@ -4,7 +4,7 @@ [![Latest Version](https://img.shields.io/crates/v/derive_more.svg)](https://crates.io/crates/derive_more) [![Rust Documentation](https://img.shields.io/badge/api-rustdoc-blue.svg)](https://jeltef.github.io/derive_more/derive_more/) [![GitHub license](https://img.shields.io/badge/license-MIT-blue.svg)](https://raw.githubusercontent.com/JelteF/derive_more/master/LICENSE) -[![Rust 1.36+](https://img.shields.io/badge/rustc-1.36+-lightgray.svg)](https://blog.rust-lang.org/2019/07/04/Rust-1.36.0.html) +[![Rust 1.65+](https://img.shields.io/badge/rustc-1.65+-lightgray.svg)](https://blog.rust-lang.org/2022/11/03/Rust-1.65.0.html) Rust has lots of builtin traits that are implemented for its basic types, such as `Add`, `Not`, `From` or `Display`. @@ -126,7 +126,7 @@ These don't derive traits, but derive static methods instead. ## Installation -This library requires Rust 1.36 or higher and it supports `no_std` out of the box. +This library requires Rust 1.65 or higher and it supports `no_std` out of the box. Then add the following to `Cargo.toml`: ```toml diff --git a/src/lib.rs b/src/lib.rs index 339e7504..ad211fb6 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -4,7 +4,7 @@ //! [![Latest Version](https://img.shields.io/crates/v/derive_more.svg)](https://crates.io/crates/derive_more) //! [![Rust Documentation](https://img.shields.io/badge/api-rustdoc-blue.svg)](https://jeltef.github.io/derive_more/derive_more/) //! [![GitHub license](https://img.shields.io/badge/license-MIT-blue.svg)](https://raw.githubusercontent.com/JelteF/derive_more/master/LICENSE) -//! [![Rust 1.36+](https://img.shields.io/badge/rustc-1.36+-lightgray.svg)](https://blog.rust-lang.org/2019/07/04/Rust-1.36.0.html) +//! [![Rust 1.65+](https://img.shields.io/badge/rustc-1.65+-lightgray.svg)](https://blog.rust-lang.org/2022/11/03/Rust-1.65.0.html) //! //! Rust has lots of builtin traits that are implemented for its basic types, such //! as `Add`, `Not`, `From` or `Display`. @@ -126,7 +126,7 @@ //! //! ## Installation //! -//! This library requires Rust 1.36 or higher and it supports `no_std` out of the box. +//! This library requires Rust 1.65 or higher and it supports `no_std` out of the box. //! Then add the following to `Cargo.toml`: //! //! ```toml diff --git a/tests/error_tests.rs b/tests/error_tests.rs index c2798bd1..58315cb2 100644 --- a/tests/error_tests.rs +++ b/tests/error_tests.rs @@ -1,5 +1,3 @@ -#![cfg_attr(feature = "nightly", feature(backtrace))] - #[macro_use] extern crate derive_more;