proc-macro-error2 is used at run time in 1,781 crates (of which 476 optionally). It is a direct run-time dependency in 54 crates. It's used at build time in 159 crates (of which 61 optionally, ). It's used only as a dev dependency in 80 crates.

Depender (with downloads and own rev deps) proc-macro-error2 version
861K 16 validator_derive ^2
627K 7 syn_derive ^2.0
618K 4 sea-bae ^2
451K 1 tabled_derive ^2.0.1
417K 235 getset ^2
408K 10 alloy-sol-macro ^2.0.0
372K 50 aquamarine ^2
260K 2 alloy-sol-macro-expander ^2.0.0
187K 1 mysql-common-derive ^2.0.1
151K 3 subxt-macro ^2.0.0
145K 1 defmt-macros ^2
105K 1 cmd_lib_macros ^2
78K 24 dynasm ^2.0.1
75K 1 axum_typed_multipart_macros ^2.0.1
73K 5 wasmer-derive ^2.0.1
64K 1 serde_valid_derive ^2.0.0
56K 5 leptos_macro ^2.0
50K 1 fastrace-macro ^2.0.1
40K 1 iai-callgrind-macros ^2.0.1
39K 21 i18n-embed-fl ^2.0.1
20K 4 esp-hal-procmacros ^2.0.1
61K 3 mlua_derive optional ^2.0.1
18K 11 impl-tools ^2.0
18K 2 impl-tools-lib ^2.0
18K 11 test-with ^2.0
15K 3 paperclip-macros ^2.0.1
8.7K 1 reactive_stores_macro ^2.0
8.4K 1 build-info-proc ^2.0
7.1K 1 rtic-macros ^2.0
6.4K 1 matrix-pickle-derive ^2.0.1
6.4K 1 leptos_router_macro ^2.0
4.4K 1 hdf5-metno-derive ^2.0
3.5K 1 conflate_derive ^2.0
3.2K 1 typescript-type-def-derive ^2.0.1
3.1K 1 arrow_convert_derive ^2
1.5K 7 savefile-derive ^2.0.1
1.4K 1 quork-proc ^2.0
700 1 hcaptcha_derive ^2.0.1
500 1 positional_derive ^2.0
440 zyc_getset ^2
350 1 graphql-starter-macros ^2
340 1 deriving_via_macros ^2.0.1
270 1 partial_config_derive ^2.0
230 altgetset ^2
190 1 leptos-mview-core ^2
170 1 leptos-mview-macro ^2
160 1 fn-bnf-macro ^2
150 static_table ^2.0.1
140 3 getset2 ^2
130 1 hcaptcha_derive_no_wasm ^2.0.1
120 1 hdf5-dst-derive ^2
1 toml-example-derive ^2.0
1 const-type-layout-derive ^2.0
1 mdsycx-macro ^2.0.1