This PR adds an std feature enabled on this crate by default. This feature implements (Ref)UnwindSafe on the channel and uses std::thread::yield_now() in busy-waiting within the channels. Without this feature, core::hint::spin_loop() is used instead.
Due to the (Ref)UnwindSafe not being implemented without std, this is a breaking change.
This PR adds an
std
feature enabled on this crate by default. This feature implements(Ref)UnwindSafe
on the channel and usesstd::thread::yield_now()
in busy-waiting within the channels. Without this feature,core::hint::spin_loop()
is used instead.Due to the
(Ref)UnwindSafe
not being implemented withoutstd
, this is a breaking change.