[package]
name = "block-sys"
version = "0.2.1"
authors = ["Mads Marquart <mads@marquart.dk>"]
edition = "2021"
rust-version = "1.60"
description = "Raw bindings to Apple's C language extension of blocks"
keywords = ["objective-c", "macos", "ios", "blocks", "sys"]
categories = [
"external-ffi-bindings",
"os::macos-apis",
]
repository = "https://github.com/madsmtm/objc2"
documentation = "https://docs.rs/block-sys/"
license = "MIT"
readme = "README.md"
links = "block_0_2"
build = "build.rs"
[features]
default = ["std", "apple"]
std = ["alloc", "objc-sys?/std"]
alloc = ["objc-sys?/alloc"]
apple = []
compiler-rt = []
gnustep-1-7 = ["objc-sys", "objc-sys/gnustep-1-7"]
gnustep-1-8 = ["objc-sys/gnustep-1-8", "gnustep-1-7"]
gnustep-1-9 = ["objc-sys/gnustep-1-9", "gnustep-1-8"]
gnustep-2-0 = ["objc-sys/gnustep-2-0", "gnustep-1-9"]
gnustep-2-1 = ["objc-sys/gnustep-2-1", "gnustep-2-0"]
unstable-winobjc = ["objc-sys/unstable-winobjc", "gnustep-1-8"]
unstable-objfw = []
unstable-docsrs = ["objc-sys", "objc-sys/unstable-docsrs"]
[dependencies]
objc-sys = { path = "../objc-sys", version = "0.3.2", default-features = false, optional = true }
[package.metadata.docs.rs]
default-target = "x86_64-apple-darwin"
no-default-features = true
features = ["std", "unstable-docsrs"]
targets = [
"x86_64-apple-darwin",
"aarch64-apple-darwin",
"aarch64-apple-ios",
"x86_64-apple-ios",
"x86_64-unknown-linux-gnu",
"i686-unknown-linux-gnu",
"x86_64-pc-windows-msvc",
]