-
|
At first I thought I would have to manage 3 versions (the root However, cargo requires a version to be defined in its manifest. How do you keep that version number in sync with Tauri's config file? Does it need to be in sync? Can you remove the one in Tauri's config file and would it default to the one in the |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 1 reply
-
|
I should have tried for myself, it seems indeed that, if no value is provided for the package name and version in |
Beta Was this translation helpful? Give feedback.
-
|
I came here by a web search and leave this information because it could help someone else. What I have not found out is if the version information in the Cargo.toml is of any relevance. Is it a drop? Is it overwritten with the value from tauri.conf? Are both values written to the binary somewhere if mismatched? |
Beta Was this translation helpful? Give feedback.
I should have tried for myself, it seems indeed that, if no value is provided for the package name and version in
tauri.conf.json, it will default to the values for the crate defined inCargo.toml. SoCargo.tomlwill be my single source of truth. Sweet!