5 stable releases
| 2.2.0 | Jun 24, 2025 |
|---|---|
| 2.1.0 | Jun 22, 2025 |
| 2.0.0 | Jun 21, 2025 |
| 1.0.1 | Jun 20, 2025 |
#1969 in Rust patterns
180 downloads per month
26KB
409 lines
Provides stable const implementations for some things missing from the standard library.
Currently implemented are
- Functions in
resultto unwrapResults with generics or drop glue - Functions in the
concatmodule to concat const strings and byte slices. destruct_tupleto destructure tuples with generic types or types with drop glue in themnonnull_fromto createNonNulls from mutable and regular references convenientlyman_drop_ref/man_drop_mutas a workaround for the lack of constDerefimplementations
Dependencies
~29KB