2 releases

0.1.1 Nov 2, 2024
0.1.0 Jul 27, 2024

#5 in #rewriting

Download history 780/week @ 2024-10-05 552/week @ 2024-10-12 1006/week @ 2024-10-19 733/week @ 2024-10-26 1179/week @ 2024-11-02 858/week @ 2024-11-09 803/week @ 2024-11-16 1033/week @ 2024-11-23 1229/week @ 2024-11-30 913/week @ 2024-12-07 1122/week @ 2024-12-14 900/week @ 2024-12-21 1080/week @ 2024-12-28 534/week @ 2025-01-04 1119/week @ 2025-01-11 632/week @ 2025-01-18

3,440 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
~120K SLoC