From 70a22da19e5438498427446425b33e0682485b76 Mon Sep 17 00:00:00 2001 From: Liam Aharon Date: Tue, 1 Aug 2023 11:32:47 +0700 Subject: [PATCH 1/2] cargo run docs --- Cargo.toml | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/Cargo.toml b/Cargo.toml index bbbb8563f5b28..3df8ad795d511 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -32,7 +32,10 @@ node-cli = { path = "bin/node/cli" } # Exists here to be backwards compatible and to support `cargo run` in the workspace. # # Just uses the `node-cli` main binary. `node-cli` itself also again exposes the node as -# `substrate-node`. Using `node-cli` directly you can also enable features. +# `substrate-node`. + +# `cargo run` on its own doesn't support features. To use features you must explicitly specify +# `node-cli` in your command, e.g. `cargo run -p node-cli --features try-runtime ...`. [[bin]] name = "substrate" path = "bin/node/cli/bin/main.rs" From 9c44bcafa4debb4fe894dae5ea6e2522c3c4d745 Mon Sep 17 00:00:00 2001 From: Liam Aharon Date: Tue, 1 Aug 2023 11:45:03 +0700 Subject: [PATCH 2/2] typo --- Cargo.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Cargo.toml b/Cargo.toml index 3df8ad795d511..9ee8142e23e76 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -34,7 +34,7 @@ node-cli = { path = "bin/node/cli" } # Just uses the `node-cli` main binary. `node-cli` itself also again exposes the node as # `substrate-node`. -# `cargo run` on its own doesn't support features. To use features you must explicitly specify +# `cargo run` on its own doesn't support features. To use features you must explicitly use # `node-cli` in your command, e.g. `cargo run -p node-cli --features try-runtime ...`. [[bin]] name = "substrate"