2 releases

0.1.1 Nov 2, 2024
0.1.0 Jul 27, 2024

#10 in #point

Download history 1146/week @ 2024-10-30 819/week @ 2024-11-06 716/week @ 2024-11-13 1014/week @ 2024-11-20 1245/week @ 2024-11-27 1103/week @ 2024-12-04 998/week @ 2024-12-11 988/week @ 2024-12-18 908/week @ 2024-12-25 777/week @ 2025-01-01 673/week @ 2025-01-08 1139/week @ 2025-01-15 535/week @ 2025-01-22 601/week @ 2025-01-29 1213/week @ 2025-02-05 813/week @ 2025-02-12

3,230 downloads per month
Used in 6 crates (3 directly)

MIT/Apache

25KB
569 lines

rewriter

Rust utilities for rewriting files

Main exports

Features

  • proc-macro2-span: By default rewriter, uses its own Span and LineColumn types. When this feature is enabled, rewriter instead uses the corresponding types from proc-macro2. This feature implies proc-macro2-impl below.

  • proc-macro2-impl: Implement the Span and LineColumn traits for the corresponding types in proc-macro2.

Dependencies

~2–10MB
~123K SLoC