| 1 | Description: Relax toml upper bound to accept 0.9 and 1.x, add serde feature |
| 2 | Permits Debian's unsuffixed librust-toml-dev (0.9 in testing, 1.1 in |
| 3 | unstable) to satisfy the dependency, unblocking debcargo-conf #147. |
| 4 | . |
| 5 | The "serde" feature must be enabled because in toml 0.9 the from_str |
| 6 | entry point moved out of "parse" and behind "serde"; with |
| 7 | default-features = false the bare "parse" feature no longer exposes it. |
| 8 | The same gating applies in toml 1.x. |
| 9 | . |
| 10 | The 0.9 to 1.0 Datetime field rename does not apply since regex-test |
| 11 | does not consume time-typed values. |
| 12 | Forwarded: https://github.com/rust-lang/regex/pull/1342 |
| 13 | Last-Update: 2026-05-09 |
| 14 | |
| 15 | Index: regex-test/Cargo.toml |
| 16 | =================================================================== |
| 17 | --- regex-test.orig/Cargo.toml |
| 18 | +++ regex-test/Cargo.toml |
| 19 | @@ -61,6 +61,6 @@ |
| 20 | features = ["derive"] |
| 21 | |
| 22 | [dependencies.toml] |
| 23 | -version = "0.8.14" |
| 24 | -features = ["parse"] |
| 25 | +version = ">= 0.8, < 2" |
| 26 | +features = ["parse", "serde"] |
| 27 | default-features = false |