From 52e9951ba427687dcc5393c4a46ea0710cefdd5d Mon Sep 17 00:00:00 2001 From: Nils Heydecker <48135649+Nilstrieb@users.noreply.github.com> Date: Wed, 6 Apr 2022 14:01:50 +0200 Subject: [PATCH] lower msrv further --- Cargo.toml | 2 +- src/lib.rs | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/Cargo.toml b/Cargo.toml index e409225..4c51911 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,7 +1,7 @@ [package] name = "stuff" version = "0.1.4" -edition = "2021" +edition = "2018" description = "Stuffing things into pointers." readme = "./README.md" homepage = "https://github.com/Nilstrieb/stuff" diff --git a/src/lib.rs b/src/lib.rs index 04d7fe9..8029cdd 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -1,6 +1,6 @@ #![no_std] #![warn(rust_2018_idioms)] -#![deny(unsafe_op_in_unsafe_fn)] +#![cfg_attr(test, deny(unsafe_op_in_unsafe_fn))] // this is great, but MSRV :( #![warn(missing_docs)] //! A crate for stuffing things into a pointer.