Skip to content

Commit

Permalink
Disable default link feature on core-graphics-types
Browse files Browse the repository at this point in the history
When the `link` feature was forwarded to `core-graphics-types` in its
update in gfx-rs#297, it wasn't taken
into account that  the feature was enabled by default in
https://togithub.com/servo/core-foundation-rs/pull/608, leading to the
`link` feature to always remain enabled even if `default-features` are
**disabled** on the `metal` crate.

Disable the `link` feature by default on `core-graphics-types`, and rely
on our (default-enabled) `link` feature to turn it back on from inside
`metal`.
  • Loading branch information
MarijnS95 committed Jul 16, 2024
1 parent 864417d commit 57048fa
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ mps = []
link = ["core-graphics-types/link"]

[dependencies]
core-graphics-types = "0.1.3"
core-graphics-types = { version = "0.1.3", default-features = false }
bitflags = "2"
log = "0.4"
block = "0.1.6"
Expand Down

0 comments on commit 57048fa

Please sign in to comment.