| Crates.io | remote-ref |
| lib.rs | remote-ref |
| version | 0.1.0 |
| created_at | 2021-11-01 12:42:52.556279+00 |
| updated_at | 2021-11-01 12:42:52.556279+00 |
| description | A library for sharing references to !Send/Sync objects across thread boundaries |
| homepage | |
| repository | https://github.com/sapir/remote-ref |
| max_upload_size | |
| id | 475218 |
| size | 18,342 |
This library allows sharing references to objects across thread boundaries,
even when those objects aren't Send or Sync. The objects themselves are
held in an ObjectStore struct that isn't necessarily Send/Sync, and so
the objects can still only be actually used on the owning thread.
This differs from some other crates such as
fragile or
send_wrapper in that the access rule
is enforced at compile time, and that the ObjectStore (currently) requires an
extra garbage collection function to be called manually.