1 unstable release

0.1.0 Jan 4, 2023

#11 in #gat

Download history 105/week @ 2025-07-15 90/week @ 2025-07-22 68/week @ 2025-07-29 79/week @ 2025-08-05 70/week @ 2025-08-12 85/week @ 2025-08-19 84/week @ 2025-08-26 139/week @ 2025-09-02 89/week @ 2025-09-09 70/week @ 2025-09-16 155/week @ 2025-09-23 91/week @ 2025-09-30 78/week @ 2025-10-07 101/week @ 2025-10-14 104/week @ 2025-10-21 75/week @ 2025-10-28

373 downloads per month
Used in 2 crates (via gat-std)

MIT/Apache

7KB
142 lines

GAT std

A variant of Rust std traits that use GATs, as well as a macro to allow rewriting code to use these traits instead of the std equivalents.

Why?

  1. These traits provide a common base so crates can all use the same definitions, like with num-traits
  2. std likely won't be able to change to use these traits for quite a while, if ever. This allows users to take advantage of GATs in their code smoothly despite that.

Dependencies

~1.5MB
~39K SLoC