Tags: Tamschi/flourish
Tags
- Features: - Added `SignalsRuntimeRef::hint_batched_updates` method with default implementation. - Wasm-compatibility. - Revisions: - Documentation typo fix.
- Features: - Wasm-compatibility. - Revisions: - Conversion table formatting fix. - Fixed changelog heading "0.1.2".
- Features: - Added functions `Signal::shared`, `Signal::shared_with_runtime` and `unmanaged::shared`, which create lightweight untracked wrappers around `Sync` values. - `unmanaged::shared` can also be used through the `unmanaged::signals_helper!` macro. - Upcasting conversions are now available (generics omitted): - `SignalDynCell::as_read_only(&self) -> &SignalDyn` - `SignalDynCell::to_read_only(&self) -> &SignalArcDyn` - `SignalArcDynCell::into_read_only(self) -> SignalArcDyn` - `SignalArcDynCell::into_read_only_and_self(self) -> (SignalArcDyn, Self)` - `SignalWeakDynCell::into_read_only(self) -> SignalWeakDyn` - `SignalWeakDynCell::into_read_only_and_self(self) -> (SignalWeakDyn, Self)` - `SubscriptionDynCell::into_read_only(self) -> SubscriptionDyn` - Upcasting `From` and `TryFrom` implementations (for side-effect-free conversions). - Added unsizing and upcasing `From` implementations between unmanaged signal references. - Revisions: - README fix: `flourish::raw` has been `flourish::unmanaged` for a while. - README formatting fixes. - Added tests "hello_flourish" and "upcasting". - The MSRV is now 1.86 (which is required for trait upcasting). Note that upcasting coercions are largely not yet available (except from `SignalDynCell` to `SignalDyn`), as this would likely require [`coerce_unsized`](rust-lang/rust#18598) to be stabilised.