tkaitchuck / constrandom

Macro to generate random constants in Rust https://xkcd.com/221/
Apache License 2.0
73 stars 14 forks source link

proc-macro-hack is deprecated #26

Closed langston-barrett closed 11 months ago

langston-barrett commented 1 year ago

The README says:

Note: As of Rust 1.45 this crate is superseded by native support for #[proc_macro] in expression position. Only consider using this crate if you care about supporting compilers between 1.31 and 1.45.

Since Rust 1.45 came out two years ago, it might be time to consider removing this dependency.

I noticed this because I wanted to use ASan on my code, and for some reason that causes the build of proc-macro-hack to fail.

tkaitchuck commented 11 months ago

Removed in https://github.com/tkaitchuck/constrandom/pull/27