You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
- Add to CI.
- Update to 2021 edition.
- Appease Clippy.
- Support visionOS and watchOS.
- Align Cargo.toml metadata with the rest of the project.
- Fix typos.
Part of #77.
Copy file name to clipboardexpand all lines: crates/dispatch2/TODO.md
+1-1
Original file line number
Diff line number
Diff line change
@@ -6,7 +6,7 @@
6
6
- CI test on Windows using https://github.com/apple/swift-corelibs-libdispatch
7
7
- Safe wrapper for ``dispatch_source_*`` + ``set_target_queue/activate/suspend/resume`` for it
8
8
- Safe wrapper for ``dispatch_data_*``
9
-
- Safe wrapper for ``dispatch_once_f`` (is that relevent?)
9
+
- Safe wrapper for ``dispatch_once_f`` (is that relevant?)
10
10
- Safe wrapper for ``dispatch_get_context/dispatch_set_context`` (quite impossible without big overhead => wrap dispatch object destructor to release the boxed value)
11
11
- All blocks related bindings and ``dispatch_block_*`` functions with compat with ``block2`` on Apple platforms.
12
12
- Integrate conversion from SystemTime to dispatch_time_t via dispatch_walltime and safe APIs using that.
Copy file name to clipboardexpand all lines: crates/dispatch2/src/lib.rs
+7-9
Original file line number
Diff line number
Diff line change
@@ -1,12 +1,4 @@
1
-
#![allow(unused_unsafe, unreachable_patterns)]
2
-
#![deny(
3
-
missing_docs,
4
-
clippy::undocumented_unsafe_blocks,
5
-
clippy::missing_safety_doc
6
-
)]
7
-
8
-
//!
9
-
//! Apple Dispatch (Grand Central Dispatch)
1
+
//! # Apple's Dispatch (Grand Central Dispatch)
10
2
//!
11
3
//! This crate allows interaction with the [Apple Dispatch](https://developer.apple.com/documentation/dispatch) library in a safe (``dispatch2`` module) and unsafe (``ffi`` module) way.
0 commit comments