static_assert_generic

Crates.iostatic_assert_generic
lib.rsstatic_assert_generic
version0.1.2
sourcesrc
created_at2024-05-02 19:43:00.320038
updated_at2024-08-24 16:44:36.346547
descriptionStatic asserts involving const and type generics
homepage
repositoryhttps://github.com/DavidO000/static_assert_generic
max_upload_size
id1228086
size21,032
David (DavidO000)

documentation

README

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

Commit count: 11

cargo fmt