nut_self

Crates.ionut_self
lib.rsnut_self
version1.0.0
sourcesrc
created_at2021-01-16 15:13:35.486362
updated_at2021-01-16 15:13:35.486362
descriptionMakes your code nut.
homepage
repositoryhttps://github.com/yusdacra/nut_self
max_upload_size
id342814
size11,258
dusk (yusdacra)

documentation

README

&nut self

It makes your code nut.

Usage

Get nut_self:

[dependencies]
nut_self = "1.0"

Use nut_self:

use nut_self::nut;

nut! {
    fn main() {
        let nut count = 0;
        println!("nut count: {}", count);
        count += 1;
        println!("nut count: {}", count);
    }
}

See example directory for a more nutty example. Run it with cargo run --package example.

Credits

Thanks to jan Pontaoski for making the typo.

Commit count: 6

cargo fmt