From 542fc4a24aeb33dc7ef35d1102d7f5f733530fd4 Mon Sep 17 00:00:00 2001 From: Guillaume Girol Date: Mon, 15 Jun 2026 16:51:01 +0200 Subject: [PATCH 1/2] replace proc-macro-error2 by proc-macro-error3 Fixes: https://github.com/SeaQL/sea-bae/issues/2 --- Cargo.toml | 2 +- src/lib.rs | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/Cargo.toml b/Cargo.toml index 315e676..8c30f4e 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -16,7 +16,7 @@ version = "0.2.1" syn = { version = "2", features = ["full", "extra-traits"] } quote = "1" proc-macro2 = "1" -proc-macro-error2 = "2" +proc-macro-error3 = "3" heck = "0.4" [dev_dependencies] diff --git a/src/lib.rs b/src/lib.rs index 3301aea..5d97fdf 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -105,7 +105,7 @@ extern crate proc_macro; use heck::ToSnakeCase; use proc_macro2::TokenStream; -use proc_macro_error2::{abort, proc_macro_error}; +use proc_macro_error3::{abort, proc_macro_error}; use quote::*; use syn::{spanned::Spanned, *}; From a09fff7d57f626df1990d1c829053ba28435b1c3 Mon Sep 17 00:00:00 2001 From: Guillaume Girol Date: Mon, 15 Jun 2026 16:53:04 +0200 Subject: [PATCH 2/2] adapt Cargo.toml to new dev-dependencies syntax Fixes this warning by cargo: ``` warning: `dev_dependencies` is deprecated in favor of `dev-dependencies` and will not work in the 2024 edition ``` --- Cargo.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Cargo.toml b/Cargo.toml index 8c30f4e..9259638 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -19,7 +19,7 @@ proc-macro2 = "1" proc-macro-error3 = "3" heck = "0.4" -[dev_dependencies] +[dev-dependencies] trybuild = "1" [lib]