18 Repositories
Rust const-alloc Libraries
Asserts const generic expressions at build-time.
build_assert build_assert allows you to make assertions at build-time. Unlike assert and some implementations of compile-time assertions, such as stat
no-std no-alloc Rust protobufs.
noproto No-std, no-alloc protocol buffers (protobuf) implementation in Rust, for embedded systems. Optimized for binary size and memory usage, not for
Extension trait to chunk iterators into const-length arrays.
const-chunks This crate provides an extension trait that lets you chunk iterators into constant-length arrays using const generics. See the docs for m
An alternative to `qcell` and `ghost-cell` that instead uses const generics
Purpose This crate is another attempt at the ghost-cell / qcell saga of cell crates. This provides an alternative to std::cell::RefCell that can allow
A minimal and fast zero-copy parser for the PE32+ file format.
peview A minimal and fast zero-copy parser for the PE32+ file format. Goal This project aims to offer a more light weight and easier to use alternativ
A no-std / no-alloc TLS 1.3 client
puny-tls - no-std/no-alloc TLS 1.3 client This is an improvement over tiny-tls-rs to make it more useable. However the only reason this exists is to r
π A very lightweight wrapper around the Vulkan Memory Allocator π¦
π vk-mem-alloc-rs A very lightweight wrapper around the Vulkan Memory Allocator π¦ [dependencies] vk-mem-alloc = "0.1.1" Simple Vulkan Memory Allocat
Ector is an open source async, no-alloc actor framework for embedded devices
Ector is an open source async, no-alloc actor framework for embedded devices. Ector is an open source async, no-alloc actor framework for embedded dev
Rust Uint crate using const-generics
Rust uint crate using const-generics Implements [UintBITS, LIMBS], the ring of numbers modulo $2^{\mathtt{BITS}}$ . It requires two generic argument
Automatically cross-compiles the sysroot crates core, compiler_builtins, and alloc.
cargo-xbuild Cargo-xbuild is a wrapper for cargo build, which cross compiles the sysroot crates core, compiler_builtins, and alloc for custom targets.
Option and Either types with variants known at compile time.
Const Either Some types to allow deciding at compile time if an option contains a value or which variant from the either type is active. This might be
Statically sized matrix using a definition with const generics
Statically sized matrix using a definition with const generics
Allocate memory at compile time!
const-alloc Link to the docs! Allocate memory at compile time! Currently, in stable rust there is no way to dynamically allocate or deallocate memory
It's implemented by laying out the elements in memory contiguously like alloc::vec::Vec
A VecT: ?Sized It's implemented by laying out the elements in memory contiguously like alloc::vec::Vec Layout A Vechonk is 4 usize long. It owns a s
const panic with formatting
For panicking with formatting in const contexts. This library exists because the panic macro was stabilized for use in const contexts in Rust 1.57.0,
async-alloc-counter measures max allocations in a future invocation
async-alloc-counter measures max allocations in a future invocation see examples/ for usage This allocator can be used as follows: use async_alloc_cou
Const equivalents of many [`bytemuck`] functions, and a few additional const functions.
Const equivalents of many bytemuck functions, and a few additional const functions. constmuck uses bytemuck's traits, so any type that implements thos
Utf8 to utf16 conversion functions for use in const contexts
const-utf16 utf8 to utf16 conversion functions useable in const contexts. Use const HELLO_WORLD_UTF16: &[u16]= const_utf16::encode!("Hello, world!");