#variables #comparing #memory-safe #port #github

libpenis

A rust port of https://github.com/todashuta/libpenis

7 releases

0.1.6 Jun 19, 2023
0.1.5 Jun 19, 2023

#6 in #comparing

37 downloads per month

Custom license

3KB

LIBPENIS

This is recreation of libpenis which was originally written in C.

Comparing variables was never been that easy and clear like using libpenis while being memory safe in Rust.

Usage

Traditional comparing:

fn main() {
    let a = 1;
    let b = 1;

    if a == b {
        println!("Success!\n");
    }
}

libpenis comparing:

use libpenis::*;

fn main() {
    set_balls(1);
    set_dick_head(1);

    let B = get_balls();
    let D = get_dick_head();

    if B==D {
        println!("Success!\n");
    }
}

Caution

libpenis uses the global static atomics "BALLS" and "DICK_HEAD" so hopefully you don't need those symbols.

License

libpenis is currently under Giant Penis License(GPL) which is a deformed M.I.T license included a penis asc

No runtime deps