core-foundation-rs icon indicating copy to clipboard operation
core-foundation-rs copied to clipboard

Should IOSurface be a part of core-graphics-types?

Open kvark opened this issue 3 years ago • 2 comments

Similar to #479, but for IOSurface. Triggered by https://github.com/gfx-rs/metal-rs/pull/223 io-surface crate has a whole lot of dependencies, and we just need an IOSurfaceRef.

kvark avatar Dec 02 '21 17:12 kvark

How about something like https://github.com/servo/core-foundation-rs/pull/484 instead? That reduces io-surface's dependencies to the same as core-graphics-types

jrmuizel avatar Dec 02 '21 20:12 jrmuizel

You are suggesting this for io-surface crate? I don't think this would be a good solution, because it would still be breaking often (because each optional dependency can require breaking), so version on io-surface are still going to climb up faster than on metal-rs. I want metal-rs dependencies to be mostly set in stone in terms of compatibility.

kvark avatar Dec 02 '21 22:12 kvark