static_assert_macro 1.0.0

Library implementation of so-called `static_assert`
Documentation

static_assert macro

Cargo.toml:

[dependencies]
static_assert_macro = "1.0.0"

Your code:

#[macro_use]
extern crate static_assert_macro;

static_assert!(1 < 2);

See https://nodakai.github.io/rust-static_assert_macro for more details.

This crate is a free software distributed under the Apache 2.0 license.