Skip to content

regex-test: bump toml to 0.9#1342

Open
glamberson wants to merge 1 commit intorust-lang:masterfrom
lamco-admin:bump-regex-test-toml-0.9
Open

regex-test: bump toml to 0.9#1342
glamberson wants to merge 1 commit intorust-lang:masterfrom
lamco-admin:bump-regex-test-toml-0.9

Conversation

@glamberson
Copy link
Copy Markdown

Bumps regex-test's toml dependency from 0.8.14 to 0.9 (stable since 2025-08-29).

API change

toml::from_str is now gated behind the serde feature in toml 0.9 (it was available under the parse feature alone in 0.8). Added "serde" to the existing features = ["parse"] list. regex-test already depends on serde 1.0 with derive, so enabling toml's serde feature adds no new transitive dependency.

Single call site: regex-test/lib.rs:158, toml::from_str(&data).

Verification

  • cargo build -p regex-test: clean
  • cargo test -p regex-test: 0 passed, 1 ignored, 0 failed (matches master behaviour)
  • cargo fmt --all --check: clean

The workspace's cargo clippy --all-targets -- -D warnings run has 70 pre-existing errors on master (reproducible on vanilla master before this change), unrelated to the bump.

Context

Part of the Debian Rust team's toml 0.9 transition (debcargo-conf#147). regex-test is listed as a reverse-dependency.

The single call site at regex-test/lib.rs:158 uses
toml::from_str. In toml 0.9, from_str is now gated behind the
serde feature (previously implicit); add "serde" to the crate's
existing feature set ["parse"] to keep the same API available.

The crate already depends on serde 1.0 with the derive feature,
so the extra toml feature adds no new transitive dependency.

Verified:
  cargo build -p regex-test
  cargo test -p regex-test
  cargo fmt --all --check
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.

1 participant