#type #bool #static #testing

no-std typebool

Type-level booleans meant for compile-time hackery

1 unstable release

0.1.0 Nov 14, 2019

#13 in #bool

Download history 3/week @ 2022-12-02 13/week @ 2022-12-09 29/week @ 2022-12-16 20/week @ 2022-12-23 3/week @ 2022-12-30 12/week @ 2023-01-06 24/week @ 2023-01-13 15/week @ 2023-01-20 32/week @ 2023-01-27 45/week @ 2023-02-03 17/week @ 2023-02-10 10/week @ 2023-02-17 13/week @ 2023-02-24 18/week @ 2023-03-03 22/week @ 2023-03-10

66 downloads per month

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