2019-06-12 19:57:40 +02:00
2019-05-15 00:47:02 +02:00
2017-08-12 14:02:37 -04:00
2019-05-15 01:09:44 +02:00
2019-05-15 01:09:44 +02:00

Banner

Rust compile-time assertions to ensure that invariants are met.

Documentation

Installation

This crate is available on crates.io and can be used by adding the following to your project's Cargo.toml:

[dependencies]
static_assertions = "0.3.2"

and this to your crate root (main.rs or lib.rs):

#[macro_use]
extern crate static_assertions;

Usage

This crate exposes the following macros:

Limitations

See issue #1 to read up on current limitations of this crate and how to currently overcome them.

Changes

See CHANGELOG.md for a complete list of what has changed from one version to another.

License

This project is released under either:

at your choosing.

S
Description
提供用于编译时静态断言的宏。 | A Rust library that provides support for compile-time assertions.
Readme 790 KiB
Languages
Rust 100%