7 releases

0.2.0 Nov 8, 2024
0.1.0 Apr 24, 2024
0.0.6 Jan 5, 2024
0.0.5 Nov 23, 2022
0.0.1 May 25, 2022

#403 in Procedural macros

Download history 226/week @ 2024-10-26 355/week @ 2024-11-02 449/week @ 2024-11-09 459/week @ 2024-11-16 556/week @ 2024-11-23 560/week @ 2024-11-30 645/week @ 2024-12-07 445/week @ 2024-12-14 174/week @ 2024-12-21 232/week @ 2024-12-28 478/week @ 2025-01-04 397/week @ 2025-01-11 534/week @ 2025-01-18 443/week @ 2025-01-25 697/week @ 2025-02-01 502/week @ 2025-02-08

2,243 downloads per month
Used in cargo-spellcheck

MIT/Apache

160KB
3.5K SLoC

doc-chunks

Extract clustered documentation lines and provide a spanned and commonmark aware overlay with a span based mapping.


lib.rs:

Doc Chunks

Documentation is a representation of one or multiple documents.

A literal is a token provided by proc_macro2 or ra_ap_syntax crate, which is then converted by means of TrimmedLiteral using Clustering into a CheckableChunk (mostly named just chunk).

CheckableChunks can consist of multiple fragments, where each fragment can span multiple lines, yet each fragment is covering a consecutive Span in the origin content. Each fragment also has a direct mapping to the CheckableChunk internal string representation.

And Documentation holds one or many CheckableChunks per file path.

Dependencies

~10–19MB
~268K SLoC

pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy