oden/third-party/vendor/block-sys/Cargo.toml
2024-03-08 11:03:01 -08:00

99 lines
2 KiB
TOML

# THIS FILE IS AUTOMATICALLY GENERATED BY CARGO
#
# When uploading crates to the registry Cargo will automatically
# "normalize" Cargo.toml files for maximal compatibility
# with all versions of Cargo and also rewrite `path` dependencies
# to registry (e.g., crates.io) dependencies.
#
# If you are reading this file be aware that the original Cargo.toml
# will likely look very different (and much more reasonable).
# See Cargo.toml.orig for the original contents.
[package]
edition = "2021"
name = "block-sys"
version = "0.1.0-beta.1"
authors = ["Mads Marquart <mads@marquart.dk>"]
build = "build.rs"
links = "block_0_1"
description = "Raw bindings to Apple's C language extension of blocks"
documentation = "https://docs.rs/block-sys/"
readme = "README.md"
keywords = [
"objective-c",
"macos",
"ios",
"blocks",
"sys",
]
categories = [
"external-ffi-bindings",
"os::macos-apis",
]
license = "MIT"
repository = "https://github.com/madsmtm/objc2"
resolver = "2"
[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",
]
[dependencies.objc-sys]
version = "=0.2.0-beta.2"
optional = true
default-features = false
[features]
alloc = ["objc-sys?/alloc"]
apple = []
compiler-rt = []
default = [
"std",
"apple",
]
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",
]
std = [
"alloc",
"objc-sys?/std",
]
unstable-docsrs = [
"objc-sys",
"objc-sys/unstable-docsrs",
]
unstable-objfw = []
unstable-winobjc = [
"objc-sys/unstable-winobjc",
"gnustep-1-8",
]