From 1b59459753023cbb9e3d25b4ae3e80c572b5b060 Mon Sep 17 00:00:00 2001 From: Yonatan <145396871+ykogan-discord@users.noreply.github.com> Date: Mon, 20 Oct 2025 15:59:32 -0700 Subject: [PATCH] Clarify explanation of rust dependencies as they relate to the CLI version (#3549) --- src/content/docs/develop/configuration-files.mdx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/content/docs/develop/configuration-files.mdx b/src/content/docs/develop/configuration-files.mdx index ee89311ef..3c43d432e 100644 --- a/src/content/docs/develop/configuration-files.mdx +++ b/src/content/docs/develop/configuration-files.mdx @@ -201,7 +201,7 @@ serde = { version = "1.0", features = ["derive"] } tauri = { version = "2.0.0", features = [ ] } ``` -The most important parts to take note of are the `tauri-build` and `tauri` dependencies. Generally, they must both be on the latest minor versions as the Tauri CLI, but this is not strictly required. If you encounter issues while trying to run your app you should check that any Tauri versions (`tauri` and `tauri-cli`) are on the latest versions for their respective minor releases. +The most important parts to take note of are the `tauri-build` and `tauri` dependencies. Generally, they must both be on the same latest minor versions as the Tauri CLI, but this is not strictly required. If you encounter issues while trying to run your app you should check that any Tauri versions (`tauri` and `tauri-cli`) are on the latest versions for their respective minor releases. Cargo version numbers use [Semantic Versioning]. Running `cargo update` in the `src-tauri` folder will pull the latest available Semver-compatible versions of all dependencies. For example, if you specify `2.0.0` as the version for `tauri-build`, Cargo will detect and download version `2.0.0.0` because it is the latest Semver-compatible version available. Tauri will update the major version number whenever a breaking change is introduced, meaning you should always be capable of safely upgrading to the latest minor and patch versions without fear of your code breaking.