#bool #static #type #testing

no-std typebool

Type-level booleans meant for compile-time hackery

1 unstable release

0.1.0 Nov 14, 2019

#22 in #bool

30 downloads per month
Used in lox

MIT/Apache

7KB
93 lines

typebool

Type-level booleans meant for compile-time hackery.

Installation

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

[dependencies]
typebool = "0.1.0"

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

extern crate typebool;

License

This project is released under either:

at your choosing.


lib.rs:

Type-level booleans meant for compile-time hackery.

No runtime deps