dispatch2 0.3.1

Bindings and wrappers for Apple's Grand Central Dispatch (GCD)
Documentation
# This file has been automatically generated by `objc2`'s `header-translator`.
# DO NOT EDIT

[package]
name = "dispatch2"
version = "0.3.1" # Remember to update html_root_url in lib.rs
description = "Bindings and wrappers for Apple's Grand Central Dispatch (GCD)"
edition.workspace = true
rust-version.workspace = true
keywords = ["gcd", "macos", "ios", "dispatch", "libdispatch"]
categories.workspace = true
repository.workspace = true
license.workspace = true
authors = ["Mads Marquart <mads@marquart.dk>", "Mary <mary@mary.zone>"]

[lints]
workspace = true

[dependencies]
bitflags = { workspace = true, features = ["std"] }
block2 = { workspace = true, optional = true, features = ["alloc"] }
libc = { workspace = true, optional = true }
objc2 = { workspace = true, optional = true, features = ["std"] }

[package.metadata.docs.rs]
default-target = "aarch64-apple-darwin"
rustc-args = ["--cfg", "docsrs"] # Fix cross-crate link to objc2::topics
targets = [
    "aarch64-apple-darwin",
    "x86_64-apple-darwin",
    "aarch64-apple-ios",
    "aarch64-apple-tvos",
    "aarch64-apple-watchos",
    "aarch64-apple-ios-macabi",
    "aarch64-apple-visionos",
    "x86_64-unknown-linux-gnu",
    "i686-unknown-linux-gnu",
]

[features]
default = [
    "std",
    "block2",
    "libc",
    "objc2",
]
std = ["alloc"]
alloc = []
block2 = ["dep:block2"]
libc = ["dep:libc"]
objc2 = ["dep:objc2"]

[package.metadata.release]
shared-version = false
tag-prefix = "dispatch2"

[dev-dependencies]
static_assertions = "1.1.0"