#bool #static #type #testing

no-std typebool

Type-level booleans meant for compile-time hackery

1 unstable release

0.1.0 Nov 14, 2019

#36 in #bool

Download history 1/week @ 2024-10-06 5/week @ 2024-11-17 33/week @ 2024-11-24 7/week @ 2024-12-01 13/week @ 2024-12-08 16/week @ 2024-12-15 1/week @ 2024-12-22

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