Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/craftspider/gat-std
Generic Associate Type variants of Rust std traits
https://github.com/craftspider/gat-std
Last synced: about 1 month ago
JSON representation
Generic Associate Type variants of Rust std traits
- Host: GitHub
- URL: https://github.com/craftspider/gat-std
- Owner: CraftSpider
- Created: 2023-01-01T03:00:39.000Z (almost 2 years ago)
- Default Branch: master
- Last Pushed: 2023-01-04T18:34:15.000Z (almost 2 years ago)
- Last Synced: 2024-10-05T20:47:50.615Z (about 1 month ago)
- Language: Rust
- Size: 18.6 KB
- Stars: 6
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# 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.