Crates.io | static_assert_generic |
lib.rs | static_assert_generic |
version | 0.1.2 |
source | src |
created_at | 2024-05-02 19:43:00.320038 |
updated_at | 2024-08-24 16:44:36.346547 |
description | Static asserts involving const and type generics |
homepage | |
repository | https://github.com/DavidO000/static_assert_generic |
max_upload_size | |
id | 1228086 |
size | 21,032 |
This crate has been made redundant as a result of the release of Rust 1.79, that added inline const
expressions:
fn foo<const N: usize>() {
const { assert!(N > 30); }
}
Other versions have not been yanked since they still do work as intended.
License: 0BSD