Skip to content

DoumanAsh/static-assert

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

About

Simple Rust macro to assert constant expressions

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages