2 releases

0.1.1 May 31, 2024
0.1.0 Jun 8, 2023

#6 in #enterprise

Download history 9/week @ 2024-09-19 2/week @ 2024-09-26

78 downloads per month

Custom license

7KB
157 lines

Leak Memory

leaks memory uwu

Examples

Leak 1337 bytes of memory

use leak_memory::{leak, LeakMethod};

fn main() {
    leak(1337, LeakMethod::Lazy);
}

Leak 69 kibibytes

use leak_memory::{leak, LeakMethod, LeakAmount};

fn main() {
    leak("69kib".parse::<LeakAmount>().unwrap(), LeakMethod::Rust);
}

Compilation

dont

Dependencies

~44KB