As the alloc-wg crates grows, I think it makes sense to require a nightly compiler as the feature list grows and many things cannot be used on stable anyway. The biggest downsides so far are
Vec. Additionally, it will introduce dancing around
NonNull does not implement
Are there any concerns not to require the nightly compiler?
I agree with using nightly only. The split in code is starting to get bad
Nightly or not, I would recommend against using
Unique outside of the standard library, it’s unclear whether it’ll always exist. Explicit impls of
Sync on types that contains
NonNull should work, would that be satisfactory? Or make your own private newtype of
NonNull that implements
Sync as needed.
Good advice, I'll change that.