#bool #static #type #testing

no-std typebool

Type-level booleans meant for compile-time hackery

1 unstable release

0.1.0 Nov 14, 2019

#32 in #bool

Download history 5/week @ 2024-09-19 5/week @ 2024-09-26 3/week @ 2024-10-03

71 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