Add Dynamic from shared.

This commit is contained in:
Stephen Chung
2021-05-11 21:38:07 +08:00
parent be052b2b26
commit 9585de4ae4
2 changed files with 30 additions and 10 deletions

View File

@@ -16,6 +16,7 @@ New features
* Each `Dynamic` value can now contain arbitrary data (type `i16`) in the form of a _tag_. This is to use up otherwise wasted space in the `Dynamic` type.
* A new internal feature `no_smartstring` to turn off `SmartString` for those rare cases that it is needed.
* `DynamicReadLock` and `DynamicWriteLoc` are exposed under `internals`.
* `From<Shared<Locked<Dynamic>>>` is added for `Dynamic` mapping directly to a shared value, together with support for `Dynamic::from`.
Enhancements
------------