#cargo #turbofish #tweet #foxes

app cargo-turbofish

Add turbofish to your project

2 releases

0.0.2 Mar 27, 2022
0.0.1 Mar 22, 2022

#659 in Cargo plugins

MIT license

6KB
60 lines

cargo-turbofish

Add foxes to your project, as inspired by this tweet.

installation

cargo install cargo-turbofish

usage

cargo turbofish

what does it actually do?

It takes

fn main() {
    println!("Hello world!");
}

and turns it into

// turbofish.
fn main() {
    println!("Hello world!");
}

(Fox locations are chosen at random.)

Dependencies

~3–11MB
~101K SLoC