# This file has been automatically generated by `objc2`'s `header-translator`. # DO NOT EDIT [package] name = "objc2-io-surface" version.workspace = true description = "Bindings to the IOSurface 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"] } libc = { workspace = true, optional = true } objc2 = { workspace = true, optional = true, features = ["std"] } objc2-core-foundation = { workspace = true, optional = true, features = ["CFDictionary"] } objc2-foundation = { workspace = true, optional = true, features = [ "NSDictionary", "NSObject", "NSString", "alloc", ] } [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-ios-macabi", "aarch64-apple-visionos", ] [features] default = [ "std", "IOSurface", "IOSurfaceAPI", "IOSurfaceBase", "IOSurfaceRef", "IOSurfaceTypes", "bitflags", "libc", "objc2", "objc2-core-foundation", "objc2-foundation", ] std = ["alloc"] alloc = [] ObjC = ["objc2"] bitflags = ["dep:bitflags"] libc = ["dep:libc"] objc2 = [ "dep:objc2", "objc2-core-foundation?/objc2", ] objc2-core-foundation = ["dep:objc2-core-foundation"] objc2-foundation = ["dep:objc2-foundation"] unstable-darwin-objc = [] IOSurface = [] IOSurfaceAPI = [] IOSurfaceBase = [] IOSurfaceRef = ["bitflags"] IOSurfaceTypes = ["bitflags"]