desynt 0.1.0

Convert syn paths & idents to normalised names
Documentation
  • Coverage
  • 97.78%
    44 out of 45 items documented2 out of 38 items with examples
  • Size
  • Source code size: 281.76 kB This is the summed size of all the files inside the crates.io package for this release.
  • Documentation size: 3.21 MB This is the summed size of all files generated by rustdoc for all configured targets
  • Ø build duration
  • this release: 29s Average build duration of successful builds.
  • all releases: 29s Average build duration of successful builds in releases after 2024-10-23.
  • Links
  • jayvdb/desynt
    2 0 0
  • crates.io
  • Dependencies
  • Versions
  • Owners
  • jayvdb

desynt

A Rust library for handling syn objects with raw identifier prefixes and path normalization.

Crates.io Documentation License

Overview

desynt provides utilities for working with syn objects, particularly focusing on:

  • Stripping raw identifier prefixes (r#) from Ident, Path, and PathSegment objects
  • Path normalization and canonical type resolution
  • Type mapping from various path representations to canonical forms

This library is especially useful when working with proc macros or code analysis tools where you need to normalize type references regardless of how they're written in the source code.

License

This project is licensed under either of

at your option.