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

153 lines
3.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 = "objc2"
version = "0.3.0-beta.3.patch-leaks.3"
authors = [
"Steven Sheldon",
"Mads Marquart <mads@marquart.dk>",
]
description = "Objective-C interface and bindings to the Cocoa Foundation framework"
documentation = "https://docs.rs/objc2/"
readme = "README.md"
keywords = [
"objective-c",
"macos",
"ios",
"objc_msgSend",
"cocoa",
]
categories = [
"api-bindings",
"development-tools::ffi",
"os::macos-apis",
]
license = "MIT"
repository = "https://github.com/madsmtm/objc2"
[package.metadata.docs.rs]
default-target = "x86_64-apple-darwin"
features = [
"exception",
"malloc",
"block",
"uuid",
"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",
]
[[bench]]
name = "autorelease"
harness = false
[dependencies.block2]
version = "=0.2.0-alpha.6"
optional = true
default-features = false
[dependencies.malloc_buf]
version = "1.0"
optional = true
[dependencies.objc-sys]
version = "=0.2.0-beta.2"
default-features = false
[dependencies.objc2-encode]
version = "=2.0.0-pre.2"
default-features = false
[dependencies.objc2-proc-macros]
version = "0.1.0"
optional = true
[dependencies.uuid]
version = "1.1.2"
optional = true
default-features = false
[dev-dependencies.iai]
version = "0.1"
[features]
alloc = [
"objc2-encode/alloc",
"objc-sys/alloc",
"block2?/alloc",
]
apple = [
"objc-sys/apple",
"objc2-encode/apple",
"block2?/apple",
]
block = ["block2"]
catch-all = ["exception"]
default = [
"std",
"apple",
"foundation",
]
exception = ["objc-sys/unstable-exception"]
foundation = []
gnustep-1-7 = [
"objc-sys/gnustep-1-7",
"objc2-encode/gnustep-1-7",
"block2?/gnustep-1-7",
]
gnustep-1-8 = [
"gnustep-1-7",
"objc-sys/gnustep-1-8",
"objc2-encode/gnustep-1-8",
"block2?/gnustep-1-8",
]
gnustep-1-9 = [
"gnustep-1-8",
"objc-sys/gnustep-1-9",
"objc2-encode/gnustep-1-9",
"block2?/gnustep-1-9",
]
gnustep-2-0 = [
"gnustep-1-9",
"objc-sys/gnustep-2-0",
"objc2-encode/gnustep-2-0",
"block2?/gnustep-2-0",
]
gnustep-2-1 = [
"gnustep-2-0",
"objc-sys/gnustep-2-1",
"objc2-encode/gnustep-2-1",
"block2?/gnustep-2-1",
]
malloc = ["malloc_buf"]
std = [
"alloc",
"objc2-encode/std",
"objc-sys/std",
"block2?/std",
]
unstable-autoreleasesafe = []
unstable-c-unwind = []
unstable-docsrs = []
unstable-static-class = ["objc2-proc-macros"]
unstable-static-class-inlined = ["unstable-static-class"]
unstable-static-sel = ["objc2-proc-macros"]
unstable-static-sel-inlined = ["unstable-static-sel"]
verify_message = ["malloc"]