Go to file
2019-05-04 12:13:55 +02:00
ci Remove macro labeling when targeting nightly Rust 2018-11-14 01:36:06 -05:00
src Typecheck const_assert! inputs 2018-12-16 02:35:31 -05:00
tests Remove macro labeling when targeting nightly Rust 2018-11-14 01:36:06 -05:00
.gitignore Create .gitignore 2017-08-12 14:02:37 -04:00
.travis.yml Bump minimum rustc version to 1.24.0 2018-11-14 01:58:12 -05:00
Cargo.toml Add badges to Cargo.toml 2018-11-15 16:17:24 -05:00
CHANGELOG.md [Changelog] Add const_assert! input typechecking 2019-05-04 12:13:55 +02:00
LICENSE-APACHE Dual license project under MIT and Apache 2.0 2017-08-12 14:05:30 -04:00
LICENSE-MIT Dual license project under MIT and Apache 2.0 2017-08-12 14:05:30 -04:00
README.md [Release] Prepare 0.3.1 2018-11-15 15:23:51 -05: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.1"

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.