Constime
This is a tiny alternative to https://github.com/nhynes/comptime-rs, with no dependencies and <70 LOC.
Note that in order to use dependencies in comptime!, you must either:
- Have it as a normal dependency in
[dependencies]. - Have it as a build dependency in
[build-dependencies], alongside:- A
build.rsfile to make rust compiles the dependencies. - Explicitly importing the crate using
extern crate.
- A