| Crates.io | foot-gun |
| lib.rs | foot-gun |
| version | 0.1.0 |
| created_at | 2021-07-20 14:42:00.853235+00 |
| updated_at | 2021-07-20 14:42:00.853235+00 |
| description | Friendly aliases for your unsafe code |
| homepage | https://github.com/ewpratten/foot-gun |
| repository | https://github.com/ewpratten/foot-gun |
| max_upload_size | |
| id | 425172 |
| size | 42,283 |
The foot-gun crate is a joke library inspired by this twitter thread.
This crate provides the following macros:
foot_gunhere_be_dragonsbewarebeholden_gardei_got_thishold_my_borrowchkAll macros are credited to their "inventors" in RustDoc.
foot_gun!({
// Unsafe code here
});
here_be_dragons!({
// Unsafe code here
});
beware!({
// Unsafe code here
});
behold!({
// Unsafe code here
});
en_garde!({
// Unsafe code here
});
i_got_this!({
// Unsafe code here
});
hold_my_borrowchk!({
// Unsafe code here
});