Crates.io | dispatchr |
lib.rs | dispatchr |
version | 1.0.0 |
source | src |
created_at | 2024-10-15 05:15:11.292329 |
updated_at | 2024-10-15 05:15:11.292329 |
description | Drew's Rust bindings for libdispatch, a.k.a. GCD |
homepage | https://sealedabstract.com/code/dispatchr |
repository | https://github.com/drewcrawford/dispatchr |
max_upload_size | |
id | 1409024 |
size | 106,200 |
Drew's Rust bindings for libdispatch, a.k.a. GCD. This is an alternative to the dispatch crate.
This crate is part of the objr expanded universe universe which provide low-level, zero-cost Rust abstractions for Apple platform features that mimic code from first-party compilers. Distinctive features of this library include:
dispatch_data
, including managed, unmanaged, contiguous, and zero-copy-bridged flavors of datadispatch_read
/write, the defacto API for nonblocking IO on macOS.
poll
or kevent
. These
lack various features and optimizations of the preferred API.QoS
, which is the solution for task priority and responsive GUI apps on macOSdispatchr covers large but incomplete portions of the libdispatch API.
dispatch_read
, dispatch_write
, dispatch_io_create_with_path