| Crates.io | car |
| lib.rs | car |
| version | 0.1.3 |
| created_at | 2024-03-29 14:57:12.677823+00 |
| updated_at | 2025-08-23 09:01:39.13742+00 |
| description | std::array::{map, from_fn, try_from_fn} in const |
| homepage | |
| repository | https://github.com/bend-n/car |
| max_upload_size | |
| id | 1190244 |
| size | 11,171 |
carmacro based array manipulation constant techniques
// please note that this is in no way performant or a good idea.
let squares: [usize; 0xffffffff] = car::from_fn!(|i| i * 2);
for once!