We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
tauri-cli build fails projects with workspace license field.
I found this bug during testing #
It looks 253595a adds license to the CargoPackageSettings but it does not accept license.workspace.
license
CargoPackageSettings
license.workspace
> cargo tauri build Error failed to load cargo settings: failed to parse Cargo.toml: TOML parse error at line 8, column 1 | 8 | license.workspace = true | ^^^^^^^ invalid type: map, expected a string
create empty tauri project with workspace and set license.workspace = true
license.workspace = true
license.workspace = true does not cause error
tauri info
> cargo tauri info [✔] Environment - OS: Windows 10.0.22631 X64 ✔ WebView2: 125.0.2535.85 ✔ MSVC: Visual Studio Community 2022 ✔ rustc: 1.78.0 (9b00956e5 2024-04-29) ✔ cargo: 1.78.0 (54d8815d0 2024-03-26) ✔ rustup: 1.27.1 (54dd3d00f 2024-04-24) ✔ Rust toolchain: stable-x86_64-pc-windows-msvc (environment override by RUSTUP_TOOLCHAIN) - node: 20.11.1 - npm: 10.2.4 [-] Packages - tauri [RUST]: 1.6.7 - tauri-build [RUST]: 1.5.2 - wry [RUST]: 0.24.10 - tao [RUST]: 0.16.9 - tauri-cli [RUST]: 1.5.14 EDIT: Please note that this is fake version. using 66ad3fd5623d567c297bc73fed2ac7c7b4978452 - @tauri-apps/api [NPM]: 1.5.6 - @tauri-apps/cli [NPM]: 1.5.14 [-] App - build-type: bundle - CSP: unset - distDir: out - devPath: http://localhost:3000/ - framework: React (Next.js) - bundler: Webpack
No response
https://doc.rust-lang.org/cargo/reference/workspaces.html#the-package-table
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Describe the bug
tauri-cli build fails projects with workspace license field.
I found this bug during testing #
It looks 253595a adds
license
to theCargoPackageSettings
but it does not acceptlicense.workspace
.Reproduction
create empty tauri project with workspace and set
license.workspace = true
Expected behavior
license.workspace = true
does not cause errorFull
tauri info
outputStack trace
No response
Additional context
https://doc.rust-lang.org/cargo/reference/workspaces.html#the-package-table
The text was updated successfully, but these errors were encountered: