#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 19/week @ 2024-03-28 10/week @ 2024-04-04 1/week @ 2024-04-18 1/week @ 2024-04-25 3/week @ 2024-05-23 9/week @ 2024-05-30 5/week @ 2024-06-06

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