26 releases (breaking)

Uses new Rust 2024

new 0.26.0 Mar 21, 2025
0.24.0 Mar 5, 2025
0.13.0 Dec 30, 2024
0.12.0 Oct 13, 2024
0.9.0 Jul 25, 2024

#6 in #harper

Download history 11/week @ 2024-11-27 22/week @ 2024-12-04 28/week @ 2024-12-11 7/week @ 2024-12-18 121/week @ 2024-12-25 225/week @ 2025-01-01 137/week @ 2025-01-08 227/week @ 2025-01-15 302/week @ 2025-01-22 324/week @ 2025-01-29 177/week @ 2025-02-05 527/week @ 2025-02-12 134/week @ 2025-02-19 162/week @ 2025-02-26 386/week @ 2025-03-05 163/week @ 2025-03-12

926 downloads per month
Used in 2 crates

Apache-2.0

625KB
17K SLoC

harper-comments

This crate holds a number of functions, but it is primarily a wrapper around tree-sitter that allows Harper to locate the comments of a wide variety of programming languages. It also has purpose-built parsers for the structured comments of a number of languages, including Go. These additional parsers are available through the CommentParser and are enabled automatically through there.

Dependencies

~183MB
~5.5M SLoC