static-assertions
current_platform
static-assertions | current_platform | |
---|---|---|
2 | 2 | |
555 | 31 | |
- | - | |
0.0 | 0.0 | |
6 months ago | about 2 years ago | |
Rust | Rust | |
Apache License 2.0 | Apache License 2.0 |
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.
static-assertions
-
"My Reaction to Dr. Stroustrup’s Recent Memory Safety Comments"
The static-assertions crate tries to handle similar use cases but const generics are still problematic.
-
Const generics MVP hits beta!
For that, I've used static-assertions in the past.
current_platform
-
Announcing `current_platform`: zero-cost platform detection
You only have that variable set for build.rs, not for your code. If you want to use this in your code, you have to capture it in build.rs and then re-export it to your code.
What are some alternatives?
kernel - FreeDOS kernel - implements the core MS-DOS/PC-DOS (R) compatible operating system. It is derived from Pat Villani's DOS-C kernel and released under the GPL v2 or later. Please see http://www.freedos.org/ for more details about the FreeDOS (TM) Project.
Constime - Zig's comptime for Rust. Mostly something to play around with until more stuff is `const` fn.
const_fixedp - A const type for fixed point arithmetic in Rust.
konst - Const equivalents of std functions, compile-time comparison, and parsing.
assertnever - Syntactical sugar for assert never
bagel - Compile-time stuff and other goodies for rustaceans 🦀
inox2d - Native Rust reimplementation of Inochi2D
utoipa - Simple, Fast, Code first and Compile time generated OpenAPI documentation for Rust
ntest - Testing framework for rust enhancing the built-in library with some useful features.
gcc-ia16 - Fork of Lambertsen & Jenner (& al.)'s IA-16 (Intel 16-bit x86) port of GNU compilers ― added far pointers & more • use https://github.com/tkchia/build-ia16 to build • Ubuntu binaries at https://launchpad.net/%7Etkchia/+archive/ubuntu/build-ia16/ • DJGPP/MS-DOS binaries at https://gitlab.com/tkchia/build-ia16/-/releases • mirror of https://gitlab.com/tkchia/gcc-ia16
rust - Empowering everyone to build reliable and efficient software.