[go: up one dir, main page]

objc2-core-foundation 0.3.2

Bindings to the CoreFoundation framework
Documentation
# This file has been automatically generated by `objc2`'s `header-translator`.
# DO NOT EDIT

[package]
name = "objc2-core-foundation"
version.workspace = true
description = "Bindings to the CoreFoundation framework"
edition.workspace = true
rust-version.workspace = true
keywords = ["cocoa", "apple", "framework", "macos", "ios"]
categories.workspace = true
repository.workspace = true
license.workspace = true

[lints]
workspace = true

[dependencies]
bitflags = { workspace = true, optional = true, features = ["std"] }
block2 = { workspace = true, optional = true, features = ["alloc"] }
dispatch2 = { 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",
    "CFArray",
    "CFAttributedString",
    "CFAvailability",
    "CFBag",
    "CFBinaryHeap",
    "CFBitVector",
    "CFBundle",
    "CFByteOrder",
    "CFCGTypes",
    "CFCalendar",
    "CFCharacterSet",
    "CFData",
    "CFDate",
    "CFDateFormatter",
    "CFDictionary",
    "CFError",
    "CFFileDescriptor",
    "CFFileSecurity",
    "CFLocale",
    "CFMachPort",
    "CFMessagePort",
    "CFNotificationCenter",
    "CFNumber",
    "CFNumberFormatter",
    "CFPlugIn",
    "CFPlugInCOM",
    "CFPreferences",
    "CFPropertyList",
    "CFRunLoop",
    "CFSet",
    "CFSocket",
    "CFStream",
    "CFString",
    "CFStringEncodingExt",
    "CFStringTokenizer",
    "CFTimeZone",
    "CFTree",
    "CFURL",
    "CFURLAccess",
    "CFURLEnumerator",
    "CFUUID",
    "CFUserNotification",
    "CFUtilities",
    "CFXMLNode",
    "CFXMLParser",
    "bitflags",
    "block2",
    "dispatch2",
    "libc",
    "objc2",
]
std = ["alloc"]
alloc = []
unstable-coerce-pointee = []
CFBase = []
bitflags = ["dep:bitflags"]
block2 = ["dep:block2"]
dispatch2 = ["dep:dispatch2"]
libc = ["dep:libc"]
objc2 = [
    "dep:objc2",
    "dispatch2?/objc2",
]
unstable-darwin-objc = []

CFArray = []
CFAttributedString = []
CFAvailability = []
CFBag = []
CFBinaryHeap = []
CFBitVector = []
CFBundle = []
CFByteOrder = []
CFCGTypes = []
CFCalendar = ["bitflags"]
CFCharacterSet = []
CFData = ["bitflags"]
CFDate = ["bitflags"]
CFDateFormatter = ["bitflags"]
CFDictionary = []
CFError = []
CFFileDescriptor = []
CFFileSecurity = ["bitflags"]
CFLocale = []
CFMachPort = []
CFMessagePort = []
CFNotificationCenter = []
CFNumber = []
CFNumberFormatter = ["bitflags"]
CFPlugIn = []
CFPlugInCOM = []
CFPreferences = []
CFPropertyList = ["bitflags"]
CFRunLoop = ["bitflags"]
CFSet = []
CFSocket = ["bitflags"]
CFStream = ["bitflags"]
CFString = ["bitflags"]
CFStringEncodingExt = []
CFStringTokenizer = ["bitflags"]
CFTimeZone = []
CFTree = []
CFURL = ["bitflags"]
CFURLAccess = []
CFURLEnumerator = ["bitflags"]
CFUUID = []
CFUserNotification = []
CFUtilities = []
CFXMLNode = []
CFXMLParser = ["bitflags"]

[dev-dependencies]
static_assertions = "1.1.0"