[package]
name = "block2"
version = "0.2.0-alpha.4"
authors = ["Steven Sheldon", "Mads Marquart <mads@marquart.dk>"]
edition = "2021"
description = "Apple's C language extension of blocks"
keywords = ["objective-c", "macos", "ios", "blocks"]
categories = [
"api-bindings",
"development-tools::ffi",
"os::macos-apis",
]
readme = "README.md"
repository = "https://github.com/madsmtm/objc2"
documentation = "https://docs.rs/block2/"
license = "MIT"
[features]
default = ["apple"]
apple = ["block-sys/apple"]
compiler-rt = ["block-sys/compiler-rt"]
gnustep-1-7 = ["block-sys/gnustep-1-7"]
gnustep-1-8 = ["gnustep-1-7", "block-sys/gnustep-1-8"]
gnustep-1-9 = ["gnustep-1-8", "block-sys/gnustep-1-9"]
gnustep-2-0 = ["gnustep-1-9", "block-sys/gnustep-2-0"]
gnustep-2-1 = ["gnustep-2-0", "block-sys/gnustep-2-1"]
[dependencies]
objc2-encode = { path = "../objc2-encode", version = "=2.0.0-pre.0", default-features = false }
block-sys = { path = "../block-sys", version = "0.0.4", default-features = false }
[package.metadata.docs.rs]
default-target = "x86_64-apple-darwin"
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",
]