1 unstable release

0.1.0 Jan 4, 2023

#161 in #std

Download history 104/week @ 2023-12-18 73/week @ 2023-12-25 39/week @ 2024-01-01 31/week @ 2024-01-08 471/week @ 2024-01-15 181/week @ 2024-01-22 96/week @ 2024-01-29 91/week @ 2024-02-05 27/week @ 2024-02-12 1659/week @ 2024-02-19 217/week @ 2024-02-26 100/week @ 2024-03-04 247/week @ 2024-03-11 92/week @ 2024-03-18 80/week @ 2024-03-25 120/week @ 2024-04-01

554 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
~33K SLoC