From a3c7f452a9945bac1d5c09be10ae44bef54ccf03 Mon Sep 17 00:00:00 2001 From: Lokathor Date: Thu, 9 Jan 2025 12:35:39 -0700 Subject: [PATCH 1/3] update cargo.toml with minimum rust version --- derive/Cargo.toml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/derive/Cargo.toml b/derive/Cargo.toml index b58884c..a775ba5 100644 --- a/derive/Cargo.toml +++ b/derive/Cargo.toml @@ -7,8 +7,10 @@ repository = "https://github.com/Lokathor/bytemuck" readme = "README.md" keywords = ["transmute", "bytes", "casting"] categories = ["encoding", "no-std"] -edition = "2018" +edition = "2021" license = "Zlib OR Apache-2.0 OR MIT" +rust-version = "1.84" +resolver = "3" [lib] name = "bytemuck_derive" From 7ae54e291b8b3d4a89ee4a199ae693412cb6b50f Mon Sep 17 00:00:00 2001 From: Lokathor Date: Thu, 9 Jan 2025 12:46:54 -0700 Subject: [PATCH 2/3] revert to 2018 edition so that rust 1.34 will allow us to build the crate --- derive/Cargo.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/derive/Cargo.toml b/derive/Cargo.toml index a775ba5..1e1cef3 100644 --- a/derive/Cargo.toml +++ b/derive/Cargo.toml @@ -7,7 +7,7 @@ repository = "https://github.com/Lokathor/bytemuck" readme = "README.md" keywords = ["transmute", "bytes", "casting"] categories = ["encoding", "no-std"] -edition = "2021" +edition = "2018" license = "Zlib OR Apache-2.0 OR MIT" rust-version = "1.84" resolver = "3" From 21374738adc06740eb0e94c8e77ca69977d491f9 Mon Sep 17 00:00:00 2001 From: Lokathor Date: Thu, 9 Jan 2025 12:49:23 -0700 Subject: [PATCH 3/3] update readme --- derive/README.md | 6 ------ 1 file changed, 6 deletions(-) diff --git a/derive/README.md b/derive/README.md index bb153e0..553a40e 100644 --- a/derive/README.md +++ b/derive/README.md @@ -2,9 +2,3 @@ # bytemuck_derive Derive macros for [bytemuck](https://docs.rs/bytemuck) traits. - -MSRV: None! - -This is an opt-in bonus feature for `bytemuck` that doesn't particularly do -anything you couldn't do yourself, and so MSRV is not a strong consideration for -this crate.