Crates.io | proc_assertions |
lib.rs | proc_assertions |
version | 0.1.1 |
source | src |
created_at | 2024-10-19 06:37:41.814309 |
updated_at | 2024-10-19 06:44:20.881606 |
description | Compile-time assertions via procedural macros. |
homepage | https://github.com/anton-mel/proc-assertions |
repository | https://github.com/anton-mel/proc-assertions |
max_upload_size | |
id | 1415119 |
size | 39,527 |
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.
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;
This crate exposes the following proc-macros:
calls
]nocalls
]mutates
]nomutates
]private_fields
]size_align
]consumes
]This project is licensed under the MIT License.