sa

Crates.iosa
lib.rssa
version2.0.0
sourcesrc
created_at2020-04-21 20:24:05.076666
updated_at2021-12-02 16:15:03.781839
descriptionSimple Rust macro to assert constant expressions
homepage
repositoryhttps://github.com/DoumanAsh/static-assert
max_upload_size
id232705
size5,188
Douman (DoumanAsh)

documentation

https://docs.rs/sa/

README

static-assert

Crates.io Documentation

Simple static_assert macro for compile time assertions.

Uses const_panic within const variable to produce compile error hence only usable in const context

Requirements

  • Rust 1.57
Commit count: 10

cargo fmt