From 469d9f8a4a798484c22ee170e38bee67f3090b7b Mon Sep 17 00:00:00 2001 From: Simon Hyll Date: Thu, 11 May 2023 08:18:45 +0200 Subject: [PATCH] docs(tauri-utils): described behavior of version field when omitted (#6938) --- core/tauri-utils/src/config.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/tauri-utils/src/config.rs b/core/tauri-utils/src/config.rs index ef49094b2..ad1b8f145 100644 --- a/core/tauri-utils/src/config.rs +++ b/core/tauri-utils/src/config.rs @@ -2867,7 +2867,7 @@ pub struct PackageConfig { #[serde(alias = "product-name")] #[cfg_attr(feature = "schema", validate(regex(pattern = "^[^/\\:*?\"<>|]+$")))] pub product_name: Option, - /// App version. It is a semver version number or a path to a `package.json` file containing the `version` field. + /// App version. It is a semver version number or a path to a `package.json` file containing the `version` field. If removed the version number from `Cargo.toml` is used. #[serde(deserialize_with = "version_deserializer", default)] pub version: Option, }