Skip to content

Commit c7b2266

Browse files
committed
Make Cargo dep. versions Renovate-processable
Renovate can't currently handle single dependency versions (which are actually ranges in Cargo) correctly and will bump them instead of widening as it should: renovatebot/renovate#20342 So we replace them with explicit ranges in the hope that it will be able to widen those.
1 parent 40c7045 commit c7b2266

File tree

2 files changed

+6
-7
lines changed

2 files changed

+6
-7
lines changed

Cargo.toml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -9,11 +9,11 @@ name = "json_stream_rs_tokenizer"
99
crate-type = ["cdylib"]
1010

1111
[dependencies]
12-
num-bigint = "0.4.3"
13-
pyo3 = { version = "0.16.5", features = ["extension-module", "num-bigint"] }
14-
pyo3-file = "0.5.0"
15-
thiserror = "1.0.37"
16-
utf8-chars = "2.0.2"
12+
num-bigint = ">=0.4.3,<0.5"
13+
pyo3 = { version = ">=0.16.5,<0.17", features = ["extension-module", "num-bigint"] }
14+
pyo3-file = ">=0.5.0,<0.6"
15+
thiserror = ">=1.0.37,<2"
16+
utf8-chars = ">=2.0.2,<3"
1717

1818
[build-dependencies]
1919
pyo3-build-config = { version = "0.17.1", features = ["resolve-config"] }

renovate.json

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,5 @@
22
"$schema": "https://docs.renovatebot.com/renovate-schema.json",
33
"extends": [
44
"config:base"
5-
],
6-
"rangeStrategy": "replace"
5+
]
76
}

0 commit comments

Comments
 (0)