Documentation
  • Coverage
  • 100%
    9 out of 9 items documented0 out of 0 items with examples
  • Size
  • Source code size: 22.96 kB This is the summed size of all the files inside the crates.io package for this release.
  • Documentation size: 3.55 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: 18s Average build duration of successful builds in releases after 2024-10-23.
  • Links
  • moq-dev/moq
    1017 152 34
  • crates.io
  • Dependencies
  • Versions
  • Owners
  • kixelated

Producer/consumer shared state with async waker-based notification.

This crate provides [Producer] and [Consumer] types that share state through a mutex-protected value. Producers can modify the state and consumers are automatically notified via async wakers. The channel auto-closes when all producers are dropped.