Closed MarijnS95 closed 11 months ago
@kchibisov perhaps you also want to take a look at this PR in conjunction with https://github.com/rust-windowing/winit/pull/3126?
@kchibisov we never had it so I don't really feel like it adds any value unless there are compelling reasons to? Perhaps to keep the implementations in winit
consistent?
In addition, what do folks think about having any of these features in the default
set (e.g. the latest rwh_06
)?
@MarijnS95 yes, just for consistency reasons. But I don't care that much if it's fine with you.
In addition, what do folks think about having any of these features in the default set (e.g. the latest rwh_06)?
Whatever you prefer as a library writer. You could suggest updating to 0.6.0 if you do breaking changes anyway.
@kchibisov added. I'll think about the default features for a bit... 0.5
used to be available OOTB so I feel like that "please upgrade" nudge might work if we provide 0.6 by default as well. default-features = false
is pretty easy.
Following the same strategy in winit, move
raw-window-handle 0.5
behind arwh_05
feature and addraw-window-handle 0.4
and the newly releasedraw-window-handle 0.6
behind a correspondingrwh04
/rwh_06
feature. The new non-raw trait and lifetimed type since0.6
have been implemented instead, asraw-window-handle
provides blanket implementations to coerce/convert back toRaw*
types.