arbalest 0.2.1

Like Arc<T> but where weak references don't forbid mutable access
Documentation
  • Coverage
  • 100%
    24 out of 24 items documented16 out of 20 items with examples
  • Size
  • Source code size: 60.06 kB This is the summed size of all the files inside the crates.io package for this release.
  • Documentation size: 3.96 MB This is the summed size of all files generated by rustdoc for all configured targets
  • Ø build duration
  • this release: 10s Average build duration of successful builds.
  • all releases: 10s Average build duration of successful builds in releases after 2024-10-23.
  • Links
  • nox/arbalest
    22 2 1
  • crates.io
  • Dependencies
  • Versions
  • Owners
  • nox

Arbalest

This is a thread-safe reference-counted smart pointer with weak references.

How is it different from Arc<T>?

The weak references don't prevent mutable access to the inner value, Strong::borrow_mut will always succeed as long as there is a single Strong<T> handle to the value that should be mutated.

How can I help?

Improve documentation, review the code (most importantly the atomic operations), make use of it.