#dont #internal #defines #procedural #macro #proc-macro #type-sig

macro type-sig-proc-macro

type-sig: Internal crate that defines the procedural macro, don't use this directly

5 releases

0.1.4 Dec 27, 2024
0.1.3 Dec 27, 2024
0.1.2 Dec 27, 2024
0.1.1 Dec 27, 2024
0.1.0 Dec 27, 2024

#1149 in Procedural macros

Download history 321/week @ 2024-12-24 5/week @ 2024-12-31

326 downloads per month
Used in type-sig

Custom license

11KB
239 lines

Crates.io Version docs.rs This crate allows you to get a recursive type signature of a provided type.

Example:

type_sig!(u8) // TypeSignature { name: "u8", id: TypeId(..), .. }
type_sig!(*const *mut u8) // TypeSignature { name: "*const *mut u8", .., children: [TypeSignature { name: "*mut u8", .. }] }

Dependencies

~230–670KB
~16K SLoC