cargo-script 0.2.5

A Cargo subcommand designed to let people quickly and easily run Rust "scripts" which can make use of Cargo's package ecosystem.
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
/*!

```cargo
[features]
dont-panic = []
```
*/
#[cfg(feature="dont-panic")]
fn main() {
    println!("--output--");
    println!("Keep calm and borrow check.");
}

#[cfg(not(feature="dont-panic"))]
fn main() {
    panic!("Do I really exist from an external, non-subjective point of view?");
}