#cargo-subcommand #cargo #crates #cli

app cargo-bin-lib

Cargo subcommand for more ergonomically creating a bin or lib crate

1 unstable release

Uses old Rust 2015

0.1.0 Feb 23, 2018

#714 in Cargo plugins

Apache-2.0

3KB

cargo-bin-lib

Docs

Cargo subcommand for more ergonomically creating a bin or lib crate.

Instead of cargo new --bin <args>, simply invoke cargo bin <args>. The same goes for lib.

No more confusion whether --bin or --lib is the default!

Installation

cargo install cargo-bin-lib

No runtime deps