1 unstable release

0.1.0 Jan 4, 2023

#196 in #std

Download history 92/week @ 2024-11-15 107/week @ 2024-11-22 106/week @ 2024-11-29 114/week @ 2024-12-06 220/week @ 2024-12-13 144/week @ 2024-12-20 66/week @ 2024-12-27 82/week @ 2025-01-03 76/week @ 2025-01-10 94/week @ 2025-01-17 77/week @ 2025-01-24 68/week @ 2025-01-31 68/week @ 2025-02-07 79/week @ 2025-02-14 89/week @ 2025-02-21 69/week @ 2025-02-28

319 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