Skip to content

chore(deps): Update cargo-mobile2 and toml crates#15115

Merged
FabianLars merged 8 commits into
devfrom
deps/toml
Mar 18, 2026
Merged

chore(deps): Update cargo-mobile2 and toml crates#15115
FabianLars merged 8 commits into
devfrom
deps/toml

Conversation

@FabianLars

Copy link
Copy Markdown
Member

would be cool to have https://gitlab.com/lib.rs/cargo_toml/-/work_items/39 as well but idk the timeline for that

@github-actions

github-actions Bot commented Mar 17, 2026

Copy link
Copy Markdown
Contributor

Package Changes Through 34290a9

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

Planned Package Versions

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

package current next
tauri-utils 2.8.3 2.8.4
tauri-macos-sign 2.3.3 2.3.4
tauri-bundler 2.8.1 2.8.2
tauri-runtime 2.10.1 2.10.2
tauri-runtime-wry 2.10.1 2.10.2
tauri-codegen 2.5.5 2.5.6
tauri-macros 2.5.5 2.5.6
tauri-plugin 2.5.4 2.5.5
tauri-build 2.5.6 2.5.7
tauri 2.10.3 2.11.0
@tauri-apps/cli 2.10.1 2.10.2
tauri-cli 2.10.1 2.10.2

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


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

@FabianLars FabianLars marked this pull request as ready for review March 18, 2026 11:53
@FabianLars FabianLars requested a review from a team as a code owner March 18, 2026 11:53
@FabianLars

Copy link
Copy Markdown
Member Author

need this for #14886

@FabianLars

Copy link
Copy Markdown
Member Author

we really need to stop having (0.x) external crates in our public apis, that shit's so annoying

Comment thread crates/tauri-utils/Cargo.toml Outdated
ctor = "0.2"
json5 = { version = "0.4", optional = true }
# Part of public api in error type
toml = { version = "0.9", features = ["parse"] }

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I wonder if a range would work here? (">=0.9, <=1")

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

hmm, good question. I never really used these. sqlx did though with libsqlite-sys for ages (libsqlite is 0.x so should hopefully be the same?)

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

but i guess it's not part of their public api

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

just gonna push and see what ci says

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Probably fine for this specific case, cargo should be able to select the version that matches the version user uses in their own crates, and if the user didn't have one and the version is bumped to 1.0, the public APIs of the toml's error types didn't change from 0.9 to 1.0 so code around it should still work

If this works, it should probably also work for #14599 ?

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

worth a try, want me to do it here?

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

nvm, needs edition2024

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

oh well 😂

Legend-Master
Legend-Master previously approved these changes Mar 18, 2026

@Legend-Master Legend-Master left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looking at the dependency graph, we still have embed-resource, tauri-winres, cargo_toml on 0.9, not sure if it's worth waiting though

@FabianLars

Copy link
Copy Markdown
Member Author

yeah, i'd rather not wait cause that'd mean i'd have to revert it in cargo-mobile2 😂

@FabianLars FabianLars merged commit 1ef6a11 into dev Mar 18, 2026
29 checks passed
@FabianLars FabianLars deleted the deps/toml branch March 18, 2026 17:02
razein97 pushed a commit to razein97/tauri that referenced this pull request Apr 30, 2026
* chore(deps): Update cargo-mobile2 and toml crates

* remove toml from tauri-build cargotoml

* 0.22.3

* try a range

* json5 and changefile

* Revert "json5 and changefile"

This reverts commit eda416b.

* keep changefile
razein97 pushed a commit to razein97/tauri that referenced this pull request Apr 30, 2026
* chore(deps): Update cargo-mobile2 and toml crates

* remove toml from tauri-build cargotoml

* 0.22.3

* try a range

* json5 and changefile

* Revert "json5 and changefile"

This reverts commit eda416b.

* keep changefile
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.

2 participants