-
Notifications
You must be signed in to change notification settings - Fork 501
Description
I have been using https://github.com/smol-rs/cache-padded/ as a dependency until it has been deprecated (smol-rs/cache-padded#11) and then, as suggested, I switched to crossbeam_utils::CachePadded
.
I didn't really like that this forced an unneeded dependency (cfg-if
, mentioned at smol-rs/cache-padded#10 (comment)) onto my crate.
I kinda accepted this, but recently, I found another inconvenience: it also forces me to bump the MSRV of my crate due to #1037, which is AFAICT unrelated to CachePadded
.
Would it be possible to move CachePadded
to a separate sub-crate to avoid those problems?
Alternatively, both problems might be avoidable by moving parts of crossbeam_utils
to separate "features" (which I could deactivate for my crate), but I don't know if that's feasible?