Skip to content

feat(cli): allow for toml files in --config arg, closes #7859#13079

Merged
amrbashir merged 1 commit into
tauri-apps:devfrom
Pietagorh:dev
Mar 30, 2025
Merged

feat(cli): allow for toml files in --config arg, closes #7859#13079
amrbashir merged 1 commit into
tauri-apps:devfrom
Pietagorh:dev

Conversation

@Pietagorh
Copy link
Copy Markdown
Contributor

@Pietagorh Pietagorh commented Mar 26, 2025

closes #7859

Why

  1. can already use toml for the base config, just bringing parity to the --config feat
  2. pretty small change

Tests

  • cargo test
  • cargo clippy

@Pietagorh Pietagorh requested a review from a team as a code owner March 26, 2025 01:49
@github-actions
Copy link
Copy Markdown
Contributor

github-actions Bot commented Mar 26, 2025

Package Changes Through 093a94a

There are 6 changes which include @tauri-apps/api with patch, tauri-bundler with patch, tauri-cli with minor, tauri with minor, tauri-utils with minor, @tauri-apps/cli with minor

Planned Package Versions

The following package releases are the planned based on the context of changes in this pull request.

package current next
@tauri-apps/api 2.4.0 2.4.1
tauri-utils 2.3.0 2.4.0
tauri-bundler 2.3.0 2.3.1
tauri-runtime 2.5.0 2.5.1
tauri-runtime-wry 2.5.0 2.5.1
tauri-codegen 2.1.0 2.1.1
tauri-macros 2.1.0 2.1.1
tauri-plugin 2.1.0 2.1.1
tauri-build 2.1.0 2.1.1
tauri 2.4.0 2.5.0
@tauri-apps/cli 2.4.0 2.5.0
tauri-cli 2.4.0 2.5.0

Add another change file through the GitHub UI by following this link.


Read about change files or the docs at github.com/jbolda/covector

Comment thread crates/tauri-cli/src/lib.rs Outdated
Comment thread .changes/toml-config-patch-in-cli.md Outdated
Comment thread .changes/toml-config-patch-in-cli.md Outdated
@Pietagorh

This comment was marked as outdated.

Comment thread crates/tauri-cli/Cargo.toml Outdated
Comment thread crates/tauri-macros/Cargo.toml Outdated
@amrbashir amrbashir merged commit f805061 into tauri-apps:dev Mar 30, 2025
@amrbashir
Copy link
Copy Markdown
Member

Thank you

@Pietagorh
Copy link
Copy Markdown
Contributor Author

Thank you

No, thank you lol you did most of it (thx for showing me how to do it cleanly as well x))

kandrelczyk pushed a commit to kandrelczyk/tauri that referenced this pull request Apr 7, 2025
kandrelczyk pushed a commit to kandrelczyk/tauri that referenced this pull request Apr 7, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[feat] Formats other than JSON for additional configuration files

2 participants