From a8799c049f281dc8323e7f148ab18ce1fece9990 Mon Sep 17 00:00:00 2001 From: Alex Crichton Date: Thu, 22 Mar 2018 19:08:53 -0700 Subject: [PATCH] Add a `--lib` argument to `cargo new` The defaults will be changing soon! --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 5ed40899..eedc50d9 100644 --- a/README.md +++ b/README.md @@ -62,7 +62,7 @@ the latter will install the `wasm-bindgen` CLI tool we'll be using later. Next up let's make our project ``` -$ cargo new js-hello-world +$ cargo new js-hello-world --lib ``` Now let's add a dependency on this project inside `Cargo.toml` as well as