gat-std 0.1.1

Variants of Rust std traits that use GATs
Documentation
  • Coverage
  • 96.23%
    51 out of 53 items documented0 out of 31 items with examples
  • Size
  • Source code size: 25.8 kB This is the summed size of all the files inside the crates.io package for this release.
  • Documentation size: 7.71 MB This is the summed size of all files generated by rustdoc for all configured targets
  • Ø build duration
  • this release: 21s Average build duration of successful builds.
  • all releases: 21s Average build duration of successful builds in releases after 2024-10-23.
  • Links
  • CraftSpider/gat-std
    6 0 0
  • crates.io
  • Dependencies
  • Versions
  • Owners
  • CraftSpider

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.