From 80ffa87edbce52983f01542e266a99fef744f510 Mon Sep 17 00:00:00 2001 From: facklambda <4878248+facklambda@users.noreply.github.com> Date: Thu, 21 Oct 2021 07:08:11 -0500 Subject: [PATCH] fix: #2781[,#2781]: added clarity regarding lockfile (#2784) Co-authored-by: fack --- docs/usage/development/development.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/usage/development/development.md b/docs/usage/development/development.md index 9a19a17eb..9a93dca6c 100644 --- a/docs/usage/development/development.md +++ b/docs/usage/development/development.md @@ -22,5 +22,5 @@ The first time you run this command, it will take several minutes for the Rust p Once Rust has finished building, the webview will open and it should display your web app. You can make changes to your web app, and if your tooling enables it, the webview should update automatically just like a browser. When you make changes to your Rust files, they will be rebuilt automatically and your app will restart. - In your project repository, you SHOULD commit the "src-tauri/Cargo.toml" to git because you want it to be deterministic. You SHOULD NOT commit the "src-tauri/target" folder or any of its contents. + In your project repository, you SHOULD commit the "src-tauri/Cargo.lock" along with the "src-tauri/Cargo.toml" to git because Cargo uses the lockfile to provide deterministic builds. As a result, it is recommended that all applications check in their Cargo.lock. You SHOULD NOT commit the "src-tauri/target" folder or any of its contents.