project-const-generics
By rust-lang
condtype
Choose Rust types at compile-time via constants (by nvzqz)
project-const-generics | condtype | |
---|---|---|
1 | 3 | |
41 | 57 | |
- | - | |
10.0 | 7.3 | |
almost 2 years ago | 5 months ago | |
CSS | Rust | |
Apache License 2.0 | Apache License 2.0 |
The number of mentions indicates the total number of mentions that we've tracked plus the number of user suggested alternatives.
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
project-const-generics
Posts with mentions or reviews of project-const-generics.
We have used some of these posts to build our list of alternatives
and similar projects. The last one was on 2023-04-19.
-
CondType: choose types via boolean conditions
Nice, I hadn't considered using it this way! Unfortunately the AssocType implementations aren't considered to be exhaustive. There's a Rust issue tracking this but it hasn't been making much progress.
condtype
Posts with mentions or reviews of condtype.
We have used some of these posts to build our list of alternatives
and similar projects. The last one was on 2023-04-19.
-
condval: Create conditionally-typed values
In the v1.0 announcement of condtype, I introduced CondType. It enables choosing a type based on a compile-time constant (like std::conditional_t in C++):
- CondType brings C++ conditional_t to Rust
- CondType: choose types via boolean conditions
What are some alternatives?
When comparing project-const-generics and condtype you can also consider the following projects:
typical - Data interchange with algebraic data types.
rust - Empowering everyone to build reliable and efficient software.
deno - A modern runtime for JavaScript and TypeScript.
unseemly - Macros have types!