2 releases
0.1.1 | Oct 19, 2024 |
---|---|
0.1.0 | Oct 19, 2024 |
#980 in Testing
281 downloads per month
39KB
639 lines
proc-assertions
Verify at compile-time your code via procedural assumptions in Rust; developed by Efficient Computing Lab. Find previous commits for the crate v.0.1.1 here.
Installation
This crate is available
on crates.io and can be used by
adding the following to your project's
Cargo.toml
:
[dependencies]
proc_assertions = "0.1.1"
and this to your crate root (main.rs
or lib.rs
):
#[macro_use]
extern crate proc_assertions;
Usage
This crate exposes the following proc-macros:
FAQ
- Q: How can I contribute? Contributions are welcome via pull requests to the GitHub repository.
- Q: Will this affect my compiled binary? No, these assertions are only used at compile-time and don't affect the final binary.
- Q: Will this affect my compile times? There may be a slight increase in compile times due to additional checks.
License
This project is licensed under the MIT License.
Dependencies
~205–640KB
~15K SLoC