Cargo Features
[dependencies]
objc2-io-surface = { version = "0.3.1", default-features = false, features = ["std", "alloc", "ObjC", "bitflags", "libc", "objc2", "objc2-core-foundation", "objc2-foundation", "IOSurfaceBase", "IOSurfaceRef", "IOSurfaceTypes"] }
- default = IOSurface, IOSurfaceAPI, IOSurfaceBase, IOSurfaceRef, IOSurfaceTypes, bitflags, libc, objc2, objc2-core-foundation, objc2-foundation, std
-
These default features are set whenever
objc2-io-surface
is added without
somewhere in the dependency tree.default-features = false - std default = alloc
- alloc std
- ObjC = objc2
- bitflags default IOSurfaceRef IOSurfaceTypes
-
Enables bitflags
- libc default
-
Enables libc
Affects
IOSurfaceRef::IOSurfaceCreateMachPort
,IOSurfaceRef::IOSurfaceSetPurgeable
,IOSurfaceRef::IOSurfaceLock
,IOSurfaceRef::IOSurfaceUnlock
,IOSurfaceRef::IOSurfaceLookupFromMachPort
… - objc2 default ObjC?
-
Enables objc2, objc2 of optional objc2-core-foundation
- objc2-core-foundation default
-
Enables objc2-core-foundation
Affects
IOSurfaceRef::kIOSurfaceAllocSize
,IOSurfaceRef::kIOSurfaceWidth
,IOSurfaceRef::kIOSurfaceHeight
,IOSurfaceRef::kIOSurfaceBytesPerRow
,IOSurfaceRef::kIOSurfaceBytesPerElement
,IOSurfaceRef::kIOSurfaceElementWidth
,IOSurfaceRef::kIOSurfaceElementHeight
,IOSurfaceRef::kIOSurfaceOffset
,IOSurfaceRef::kIOSurfacePlaneInfo
,IOSurfaceRef::kIOSurfacePlaneWidth
,IOSurfaceRef::kIOSurfacePlaneHeight
,IOSurfaceRef::kIOSurfacePlaneBytesPerRow
,IOSurfaceRef::kIOSurfacePlaneOffset
,IOSurfaceRef::kIOSurfacePlaneSize
,IOSurfaceRef::kIOSurfacePlaneBase
,IOSurfaceRef::kIOSurfacePlaneBitsPerElement
… - objc2-foundation default
-
Enables objc2-foundation
Affects
objc2::IOSurfacePropertyKey
,objc2::IOSurfacePropertyKeyAllocSize
,objc2::IOSurfacePropertyKeyWidth
,objc2::IOSurfacePropertyKeyHeight
,objc2::IOSurfacePropertyKeyBytesPerRow
,objc2::IOSurfacePropertyKeyBytesPerElement
,objc2::IOSurfacePropertyKeyElementWidth
,objc2::IOSurfacePropertyKeyElementHeight
,objc2::IOSurfacePropertyKeyOffset
,objc2::IOSurfacePropertyKeyPlaneInfo
,objc2::IOSurfacePropertyKeyPlaneWidth
,objc2::IOSurfacePropertyKeyPlaneHeight
,objc2::IOSurfacePropertyKeyPlaneBytesPerRow
,objc2::IOSurfacePropertyKeyPlaneOffset
,objc2::IOSurfacePropertyKeyPlaneSize
,objc2::IOSurfacePropertyKeyPlaneBase
… - IOSurface IOSurfaceAPI IOSurfaceBase default
- IOSurfaceRef default = bitflags
- IOSurfaceTypes default = bitflags
-
Affects
IOSurfaceRef::IOSurfaceGetID
,IOSurfaceRef::IOSurfaceLookup
,IOSurfaceRef::IOSurfaceLock
,IOSurfaceRef::IOSurfaceUnlock
…