proc-macro-hack
Procedural macros in expression position
0.5.20+deprecated
159M downloads/mo
#591 most downloaded on crates.io
dtolnay/proc-macro-hack
What this package is like to depend on
Last release 4 years ago
no release in 18 months
Ships unpredictably
gaps range from 1 weeks to 1.8 years
Rarely documented
notes for 7 of 33 stable releases
2 versions withdrawn
withdrawn after publishing
10 years old
35 releases · first in 2016
0 releases in the last 12 months
see the full history below
Release timeline
35 releases · Dec 2016 to Dec 2022Releases
latest 35-
0.5.20+deprecated19 Dec 2022Nothing published for this version
-
0.5.1928 Oct 2020Release notes
Open source →- Add
#[proc_macro_hack(only_hack_old_rustc)]attribute to switch to a native #[proc_macro] on sufficiently new compilers (#66)
- Add
-
0.5.1826 Jul 2020Release notes
Open source →- Update documentation: as of Rust 1.45 proc-macro-hack is superseded by native support for #[proc_macro] in expression position. Only continue using this crate if you care about supporting compilers between 1.31 and 1.45. https://blog.rust-lang.org/2020/07/16/Rust-1.45.0.html#stabilizing-function-like-procedural-macros-in-expressions-patterns-and-statements
-
0.5.1725 May 2020 withdrawnNothing published for this version
-
0.5.1624 May 2020Release notes
Open source →-
Handle macros whose definition contains interpolated macro_rules variables, such as:
#[proc_macro_hack] pub fn $name(input: TokenStream) -> TokenStream {...}
-
-
0.5.1531 Mar 2020 -
0.5.1421 Mar 2020 -
0.5.1321 Mar 2020 withdrawnNothing published for this version
-
0.5.1217 Mar 2020Release notes
Open source →- Better error message when exceeding the limit of nested macro invocations (rust-lang/futures-rs#2097)
-
0.5.1117 Oct 2019Nothing published for this version
-
0.5.1002 Oct 2019Nothing published for this version
-
0.5.913 Aug 2019Nothing published for this version
-
0.5.805 Jul 2019Nothing published for this version
-
0.5.709 May 2019Nothing published for this version
-
0.5.608 May 2019Nothing published for this version
-
0.5.516 Apr 2019Nothing published for this version
-
0.5.431 Dec 2018Nothing published for this version
-
0.5.330 Nov 2018Nothing published for this version
-
0.5.218 Nov 2018Nothing published for this version
-
0.5.131 Oct 2018Nothing published for this version
-
0.5.031 Oct 2018Nothing published for this version
-
0.4.319 Mar 2021 -
0.4.216 Jul 2019Nothing published for this version
-
0.4.103 Sep 2018Nothing published for this version
-
0.4.023 Oct 2017Nothing published for this version
-
0.3.328 Mar 2017Nothing published for this version
-
0.3.202 Mar 2017Nothing published for this version
-
0.3.101 Mar 2017Nothing published for this version
-
0.3.028 Feb 2017Nothing published for this version
-
0.2.414 Feb 2017Nothing published for this version
-
0.2.323 Jan 2017Nothing published for this version
-
0.2.220 Jan 2017Nothing published for this version
-
0.2.105 Jan 2017Nothing published for this version
-
0.2.003 Jan 2017Nothing published for this version
-
0.1.030 Dec 2016Nothing published for this version