Skip to content

Commit e84c084

Browse files
committed
Remove fragile dependency constraint on ordered-float. (gfx-rs#8371)
Bounds like `<=5.0` should never be used unless necessary to avoid bugs, because it will cause a build failure if another package has a requirement like `~5.1.0` or `>=5.1.0`. Upper bounds should always cut at a major version boundary, not before it.
1 parent d61dc3a commit e84c084

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

Cargo.lock

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -153,7 +153,7 @@ obj = "0.10"
153153
# NOTE: once_cell/std is *required* for some commonly-used features, selecting this per crate
154154
once_cell = { version = "1.21", default-features = false }
155155
# Firefox has 3.4.0 vendored, so we allow that version in our dependencies
156-
ordered-float = { version = ">=3, <=5.0", default-features = false }
156+
ordered-float = { version = ">=3, <6.0", default-features = false }
157157
parking_lot = "0.12.3"
158158
petgraph = { version = "0.8", default-features = false }
159159
pico-args = { version = "0.5", features = [

0 commit comments

Comments
 (0)