2 releases (1 stable)

42.0.0 Mar 12, 2020
0.0.1 Mar 10, 2020

#766 in Programming languages

MIT license

1.5MB
79 lines

DON'T PANIC!

It is said that despite its many glaring (and occasionally fatal) inaccuracies, the Rust Compiler Version 42 has outsold the Encyclopedia Galactica Compiler Collection because it is slightly cheaper, and because it has the words 'DON'T PANIC' in large, friendly letters on the cover.

Usage

Add the dependency:

fortytwo = "42.0.0"

Don't panic:

fn main() {
    fortytwo::dont_panic!();
    // ...
}

Don't panic:

panic!("But what if I do?");

License

The code is under a MIT license. See LICENSE.

The logo is a mashup of the Rust logo and the Don't Panic! logo from the Hitchhiker's Guide of the Galaxy. The Rust logo is available under CC BY. See the Rust Lang Media guide.

Credits

No runtime deps