| Crates.io | const-util |
| lib.rs | const-util |
| version | 2.2.0 |
| created_at | 2025-06-20 19:18:27.429246+00 |
| updated_at | 2025-06-24 13:37:10.95309+00 |
| description | Stable implementations for some missing const functions |
| homepage | |
| repository | https://github.com/maxdexh/const-util |
| max_upload_size | |
| id | 1720090 |
| size | 27,325 |
Provides stable const implementations for some things missing from the standard library.
Currently implemented are
result to unwrap Results with generics or drop glueconcat module to concat const strings and byte slices.destruct_tuple to destructure tuples with generic types or types with drop glue in themnonnull_from to create NonNulls from mutable and regular references
convenientlyman_drop_ref/man_drop_mut as a workaround for the lack of const
Deref implementations