2 releases

0.1.1 Nov 2, 2024
0.1.0 Jul 27, 2024

#9 in #region

Download history 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 652/week @ 2025-01-18 558/week @ 2025-01-25 782/week @ 2025-02-01 1178/week @ 2025-02-08 1320/week @ 2025-02-15 650/week @ 2025-02-22 836/week @ 2025-03-01

4,063 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
~131K SLoC