1 unstable release

0.1.0 Jan 4, 2023

#169 in #std

Download history 82/week @ 2024-07-19 64/week @ 2024-07-26 77/week @ 2024-08-02 95/week @ 2024-08-09 89/week @ 2024-08-16 124/week @ 2024-08-23 140/week @ 2024-08-30 86/week @ 2024-09-06 83/week @ 2024-09-13 103/week @ 2024-09-20 97/week @ 2024-09-27 93/week @ 2024-10-04 92/week @ 2024-10-11 71/week @ 2024-10-18 98/week @ 2024-10-25 86/week @ 2024-11-01

357 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
~37K SLoC