sa 2.0.0

Simple Rust macro to assert constant expressions
Documentation
  • Coverage
  • 100%
    2 out of 2 items documented1 out of 1 items with examples
  • Size
  • Source code size: 4.86 kB This is the summed size of all the files inside the crates.io package for this release.
  • Documentation size: 483.08 kB This is the summed size of all files generated by rustdoc for all configured targets
  • Ø build duration
  • this release: 9s Average build duration of successful builds.
  • all releases: 9s Average build duration of successful builds in releases after 2024-10-23.
  • Links
  • DoumanAsh/static-assert
    0 0 0
  • crates.io
  • Dependencies
  • Versions
  • Owners
  • DoumanAsh

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