2 releases

0.1.1 Nov 2, 2024
0.1.0 Jul 27, 2024

#136 in Template engine

Download history 1313/week @ 2024-11-29 964/week @ 2024-12-06 1089/week @ 2024-12-13 890/week @ 2024-12-20 1068/week @ 2024-12-27 575/week @ 2025-01-03 1100/week @ 2025-01-10 683/week @ 2025-01-17 544/week @ 2025-01-24 751/week @ 2025-01-31 1154/week @ 2025-02-07 1150/week @ 2025-02-14 844/week @ 2025-02-21 927/week @ 2025-02-28 1529/week @ 2025-03-07 1165/week @ 2025-03-14

4,591 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