Skip to content

Bump toml to 1.x#30

Merged
rossmacarthur merged 1 commit into
rossmacarthur:trunkfrom
michel-slm:bump-toml
Apr 19, 2026
Merged

Bump toml to 1.x#30
rossmacarthur merged 1 commit into
rossmacarthur:trunkfrom
michel-slm:bump-toml

Conversation

@michel-slm
Copy link
Copy Markdown
Contributor

We were pinning toml 0.5.11 which is 3 years old

1.0.0 was released 2 months ago, and tests pass fine with the latest 1.1.2.

This will allow getting emojis packaged in Fedora without adding yet another dependency on the old toml 0.5 compatibility package we're trying to deprecate.

Upstream changelog: https://raw.githubusercontent.com/toml-rs/toml/refs/tags/toml-v1.1.2/crates/toml/CHANGELOG.md

We were pinning toml 0.5.11 which is 3 years old

1.0.0 was released 2 months ago, and tests pass fine with the latest
1.1.2.

This will allow getting `emojis` packaged in Fedora without adding yet
another dependency on the old `toml` 0.5 compatibility package we're
trying to deprecate.

Upstream changelog: https://raw.githubusercontent.com/toml-rs/toml/refs/tags/toml-v1.1.2/crates/toml/CHANGELOG.md

Signed-off-by: Michel Lind <salimma@fedoraproject.org>
@rossmacarthur
Copy link
Copy Markdown
Owner

rossmacarthur commented Apr 15, 2026

@michel-slm I see the tests are failing because toml requires at least Rust 1.85. I think you can tweak the build to just check for the msrv. (I'm okay with not running the tests on the MSRV).

diff --git a/.github/workflows/build.yaml b/.github/workflows/build.yaml
index 2a9ce60..07a91d3 100644
--- a/.github/workflows/build.yaml
+++ b/.github/workflows/build.yaml
@@ -43,7 +43,7 @@ jobs:
       - uses: dtolnay/rust-toolchain@1.66
 
       - name: Test
-        run: cargo test --all-features
+        run: cargo check --all-features
 
   generated:
     runs-on: ubuntu-latest

@rossmacarthur rossmacarthur merged commit 25eef45 into rossmacarthur:trunk Apr 19, 2026
6 of 7 checks passed
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