Skip to content

Commit 08ab235

Browse files
Update readme to clarify relationship to original proc-macro-error
1 parent b02d79c commit 08ab235

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

README.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,10 @@
33
[![docs.rs](https://docs.rs/proc-macro-error2/badge.svg)](https://docs.rs/proc-macro-error2)
44
[![unsafe forbidden](https://img.shields.io/badge/unsafe-forbidden-success.svg)](https://github.com/rust-secure-code/safety-dance/)
55

6+
`proc-macro-error2` is the successor to the unmaintained `proc-macro-error crate`. It is a drop-in replacement that updates dependencies (no syn v1 for example),
7+
and cleans up clippy warnings. If your minimal supported Rust version is greater than or equal to that of our MSRV policy (see below),
8+
you can replace `proc-macro-error` with `proc-macro-error2` in your dependencies and `use` statements without needing additional migration work.
9+
610
This crate aims to make error reporting in proc-macros simple and easy to use.
711
Migrate from `panic!`-based errors for as little effort as possible!
812

0 commit comments

Comments
 (0)