takeit 1.0.0

Wrapper smart pointer syncing type for oneshot sending
Documentation
  • Coverage
  • 75%
    3 out of 4 items documented2 out of 3 items with examples
  • Size
  • Source code size: 3.58 kB This is the summed size of all the files inside the crates.io package for this release.
  • Documentation size: 1.31 MB This is the summed size of all files generated by rustdoc for all configured targets
  • Ø build duration
  • this release: 13s Average build duration of successful builds.
  • all releases: 14s Average build duration of successful builds in releases after 2024-10-23.
  • Links
  • SSoup64/takeit
    0 0 0
  • crates.io
  • Dependencies
  • Versions
  • Owners
  • SSoup64

takeit

A tiny Rust crate for safely transferring ownership exactly once across threads.

takeit provides a HandOff primitive: a thread-safe, cloneable container designed for one-time data transfers.

It allows you to share access to a value across multiple threads and ensures that exactly one thread takes ownership of the value, even if the inner type T does not implement Clone.