diff --git a/docs/sdk/rust/intro.md b/docs/sdk/rust/intro.md index 74e6fe18942..dfd0c1bb17c 100644 --- a/docs/sdk/rust/intro.md +++ b/docs/sdk/rust/intro.md @@ -24,10 +24,10 @@ rustup target add wasm32-unknown-unknown ## Create a new project -The best way to create a new NEAR app connected with a frontend is through [create-near-app](https://github.com/near/create-near-app). When initializing the project, be sure to include the `--contract=rust` flag to use the Rust SDK. Add `--frontend=react` to use react. Default is vanilla HTML. +The best way to create a new NEAR app connected with a frontend is through [create-near-app](https://github.com/near/create-near-app). When initializing the project, your option are `npx create-near-app [--frontend next|vanilla|none] [--contract rs|ts|none --tests rs|ts|none]`. ```bash -npx create-near-app my-project --contract rust --frontend none --tests rust +npx create-near-app my-project --contract rs --frontend none --tests rs ``` If you only wish to develop and deploy a Rust contract, the [status message example](https://github.com/near-examples/rust-status-message) is great to use as a template or through [cargo-generate](https://github.com/cargo-generate/cargo-generate).