# This file has been automatically generated by `objc2`'s `header-translator`. # DO NOT EDIT [package] name = "objc2-virtualization" version = "0.2.2" # Remember to update html_root_url in lib.rs description = "Bindings to the Virtualization framework" edition = "2021" rust-version = "1.60" keywords = ["cocoa", "apple", "framework", "macos"] categories = [ "api-bindings", "development-tools::ffi", "external-ffi-bindings", "os::macos-apis", ] repository = "https://github.com/madsmtm/objc2" license = "MIT" [lints] workspace = true [dependencies] bitflags = { version = "2.5.0", default-features = false, optional = true } block2 = { path = "../../crates/block2", version = "0.5.1", default-features = false, optional = true } objc2 = { path = "../../crates/objc2", version = "0.5.2", default-features = false } objc2-app-kit = { path = "../objc2-app-kit", version = "0.2.2", default-features = false, optional = true } objc2-foundation = { path = "../objc2-foundation", version = "0.2.2", default-features = false } [package.metadata.docs.rs] default-target = "aarch64-apple-darwin" features = ["all"] targets = [ "aarch64-apple-darwin", "x86_64-apple-darwin", ] [features] default = ["std"] # Currently not possible to turn off, put here for forwards compatibility. std = ["alloc", "bitflags?/std", "block2?/std", "objc2/std", "objc2-app-kit?/std", "objc2-foundation/std"] alloc = ["block2?/alloc", "objc2/alloc", "objc2-app-kit?/alloc", "objc2-foundation/alloc"] bitflags = ["dep:bitflags", "objc2-app-kit?/bitflags", "objc2-foundation/bitflags"] block2 = ["dep:block2", "objc2-app-kit?/block2", "objc2-foundation/block2"] objc2-app-kit = ["dep:objc2-app-kit"] VZAudioDeviceConfiguration = ["objc2-foundation/NSObject"] VZAudioInputStreamSource = [] VZAudioOutputStreamSink = [] VZBootLoader = ["objc2-foundation/NSObject"] VZBridgedNetworkDeviceAttachment = [] VZBridgedNetworkInterface = [ "objc2-foundation/NSArray", "objc2-foundation/NSString", ] VZConsoleDevice = [] VZConsoleDeviceConfiguration = ["objc2-foundation/NSObject"] VZConsolePortConfiguration = ["objc2-foundation/NSObject"] VZDefines = [] VZDirectoryShare = [] VZDirectorySharingDevice = [] VZDirectorySharingDeviceConfiguration = ["objc2-foundation/NSObject"] VZDiskBlockDeviceStorageDeviceAttachment = [ "objc2-foundation/NSError", "objc2-foundation/NSFileHandle", ] VZDiskImageStorageDeviceAttachment = [ "objc2-foundation/NSError", "objc2-foundation/NSURL", ] VZDiskSynchronizationMode = [] VZEFIBootLoader = ["objc2-foundation/NSObject"] VZEFIVariableStore = [ "bitflags", "objc2-foundation/NSError", "objc2-foundation/NSURL", ] VZEntropyDeviceConfiguration = ["objc2-foundation/NSObject"] VZError = [ "objc2-foundation/NSError", "objc2-foundation/NSString", ] VZFileHandleNetworkDeviceAttachment = ["objc2-foundation/NSFileHandle"] VZFileHandleSerialPortAttachment = ["objc2-foundation/NSFileHandle"] VZFileSerialPortAttachment = [ "objc2-foundation/NSError", "objc2-foundation/NSURL", ] VZGenericMachineIdentifier = [ "objc2-foundation/NSData", "objc2-foundation/NSObject", ] VZGenericPlatformConfiguration = ["objc2-foundation/NSObject"] VZGraphicsDevice = ["objc2-foundation/NSArray"] VZGraphicsDeviceConfiguration = ["objc2-foundation/NSObject"] VZGraphicsDisplay = [ "objc2-foundation/NSError", "objc2-foundation/NSGeometry", ] VZGraphicsDisplayConfiguration = ["objc2-foundation/NSObject"] VZHostAudioInputStreamSource = [] VZHostAudioOutputStreamSink = [] VZKeyboardConfiguration = ["objc2-foundation/NSObject"] VZLinuxBootLoader = [ "objc2-foundation/NSObject", "objc2-foundation/NSString", "objc2-foundation/NSURL", ] VZLinuxRosettaAbstractSocketCachingOptions = [ "objc2-foundation/NSError", "objc2-foundation/NSString", ] VZLinuxRosettaCachingOptions = [] VZLinuxRosettaDirectoryShare = ["objc2-foundation/NSError"] VZLinuxRosettaUnixSocketCachingOptions = [ "objc2-foundation/NSError", "objc2-foundation/NSString", ] VZMACAddress = [ "objc2-foundation/NSObject", "objc2-foundation/NSString", ] VZMacAuxiliaryStorage = [ "bitflags", "objc2-foundation/NSError", "objc2-foundation/NSURL", ] VZMacGraphicsDevice = [] VZMacGraphicsDeviceConfiguration = [ "objc2-foundation/NSArray", "objc2-foundation/NSObject", ] VZMacGraphicsDisplay = [] VZMacGraphicsDisplayConfiguration = [ "objc2-app-kit?/NSScreen", "objc2-foundation/NSGeometry", "objc2-foundation/NSObject", ] VZMacHardwareModel = [ "objc2-foundation/NSData", "objc2-foundation/NSObject", ] VZMacKeyboardConfiguration = ["objc2-foundation/NSObject"] VZMacMachineIdentifier = [ "objc2-foundation/NSData", "objc2-foundation/NSObject", ] VZMacOSBootLoader = ["objc2-foundation/NSObject"] VZMacOSConfigurationRequirements = [] VZMacOSInstaller = [ "objc2-foundation/NSError", "objc2-foundation/NSProgress", "objc2-foundation/NSURL", ] VZMacOSRestoreImage = [ "objc2-foundation/NSError", "objc2-foundation/NSProcessInfo", "objc2-foundation/NSString", "objc2-foundation/NSURL", ] VZMacOSVirtualMachineStartOptions = [] VZMacPlatformConfiguration = ["objc2-foundation/NSObject"] VZMacTrackpadConfiguration = ["objc2-foundation/NSObject"] VZMemoryBalloonDevice = [] VZMemoryBalloonDeviceConfiguration = ["objc2-foundation/NSObject"] VZMultipleDirectoryShare = [ "objc2-foundation/NSDictionary", "objc2-foundation/NSError", "objc2-foundation/NSString", ] VZNATNetworkDeviceAttachment = [] VZNVMExpressControllerDeviceConfiguration = ["objc2-foundation/NSObject"] VZNetworkBlockDeviceStorageDeviceAttachment = [ "objc2-foundation/NSDate", "objc2-foundation/NSError", "objc2-foundation/NSURL", ] VZNetworkDevice = [] VZNetworkDeviceAttachment = [] VZNetworkDeviceConfiguration = ["objc2-foundation/NSObject"] VZPlatformConfiguration = ["objc2-foundation/NSObject"] VZPointingDeviceConfiguration = ["objc2-foundation/NSObject"] VZSerialPortAttachment = [] VZSerialPortConfiguration = ["objc2-foundation/NSObject"] VZSharedDirectory = ["objc2-foundation/NSURL"] VZSingleDirectoryShare = [] VZSocketDevice = [] VZSocketDeviceConfiguration = ["objc2-foundation/NSObject"] VZSpiceAgentPortAttachment = ["objc2-foundation/NSString"] VZStorageDeviceAttachment = [] VZStorageDeviceConfiguration = ["objc2-foundation/NSObject"] VZUSBKeyboardConfiguration = ["objc2-foundation/NSObject"] VZUSBMassStorageDeviceConfiguration = ["objc2-foundation/NSObject"] VZUSBScreenCoordinatePointingDeviceConfiguration = ["objc2-foundation/NSObject"] VZVirtioBlockDeviceConfiguration = [ "objc2-foundation/NSError", "objc2-foundation/NSObject", "objc2-foundation/NSString", ] VZVirtioConsoleDevice = [] VZVirtioConsoleDeviceConfiguration = ["objc2-foundation/NSObject"] VZVirtioConsoleDeviceSerialPortConfiguration = ["objc2-foundation/NSObject"] VZVirtioConsolePort = ["objc2-foundation/NSString"] VZVirtioConsolePortArray = [] VZVirtioConsolePortConfiguration = [ "objc2-foundation/NSObject", "objc2-foundation/NSString", ] VZVirtioConsolePortConfigurationArray = ["objc2-foundation/NSObject"] VZVirtioEntropyDeviceConfiguration = ["objc2-foundation/NSObject"] VZVirtioFileSystemDevice = ["objc2-foundation/NSString"] VZVirtioFileSystemDeviceConfiguration = [ "objc2-foundation/NSError", "objc2-foundation/NSObject", "objc2-foundation/NSString", ] VZVirtioGraphicsDevice = [] VZVirtioGraphicsDeviceConfiguration = [ "objc2-foundation/NSArray", "objc2-foundation/NSObject", ] VZVirtioGraphicsScanout = [] VZVirtioGraphicsScanoutConfiguration = ["objc2-foundation/NSObject"] VZVirtioNetworkDeviceConfiguration = ["objc2-foundation/NSObject"] VZVirtioSocketConnection = [] VZVirtioSocketDevice = ["objc2-foundation/NSError"] VZVirtioSocketDeviceConfiguration = ["objc2-foundation/NSObject"] VZVirtioSocketListener = [] VZVirtioSoundDeviceConfiguration = [ "objc2-foundation/NSArray", "objc2-foundation/NSObject", ] VZVirtioSoundDeviceInputStreamConfiguration = ["objc2-foundation/NSObject"] VZVirtioSoundDeviceOutputStreamConfiguration = ["objc2-foundation/NSObject"] VZVirtioSoundDeviceStreamConfiguration = ["objc2-foundation/NSObject"] VZVirtioTraditionalMemoryBalloonDevice = [] VZVirtioTraditionalMemoryBalloonDeviceConfiguration = ["objc2-foundation/NSObject"] VZVirtualMachine = [ "objc2-foundation/NSArray", "objc2-foundation/NSError", "objc2-foundation/NSURL", ] VZVirtualMachineConfiguration = [ "objc2-foundation/NSArray", "objc2-foundation/NSError", "objc2-foundation/NSObject", ] VZVirtualMachineDelegate = ["objc2-foundation/NSError"] VZVirtualMachineStartOptions = [] VZVirtualMachineView = [ "objc2-app-kit?/NSAccessibilityProtocols", "objc2-app-kit?/NSAnimation", "objc2-app-kit?/NSAppearance", "objc2-app-kit?/NSDragging", "objc2-app-kit?/NSResponder", "objc2-app-kit?/NSUserInterfaceItemIdentification", "objc2-app-kit?/NSView", "objc2-foundation/NSCoder", "objc2-foundation/NSGeometry", "objc2-foundation/NSObject", ] all = [ "VZAudioDeviceConfiguration", "VZAudioInputStreamSource", "VZAudioOutputStreamSink", "VZBootLoader", "VZBridgedNetworkDeviceAttachment", "VZBridgedNetworkInterface", "VZConsoleDevice", "VZConsoleDeviceConfiguration", "VZConsolePortConfiguration", "VZDefines", "VZDirectoryShare", "VZDirectorySharingDevice", "VZDirectorySharingDeviceConfiguration", "VZDiskBlockDeviceStorageDeviceAttachment", "VZDiskImageStorageDeviceAttachment", "VZDiskSynchronizationMode", "VZEFIBootLoader", "VZEFIVariableStore", "VZEntropyDeviceConfiguration", "VZError", "VZFileHandleNetworkDeviceAttachment", "VZFileHandleSerialPortAttachment", "VZFileSerialPortAttachment", "VZGenericMachineIdentifier", "VZGenericPlatformConfiguration", "VZGraphicsDevice", "VZGraphicsDeviceConfiguration", "VZGraphicsDisplay", "VZGraphicsDisplayConfiguration", "VZHostAudioInputStreamSource", "VZHostAudioOutputStreamSink", "VZKeyboardConfiguration", "VZLinuxBootLoader", "VZLinuxRosettaAbstractSocketCachingOptions", "VZLinuxRosettaCachingOptions", "VZLinuxRosettaDirectoryShare", "VZLinuxRosettaUnixSocketCachingOptions", "VZMACAddress", "VZMacAuxiliaryStorage", "VZMacGraphicsDevice", "VZMacGraphicsDeviceConfiguration", "VZMacGraphicsDisplay", "VZMacGraphicsDisplayConfiguration", "VZMacHardwareModel", "VZMacKeyboardConfiguration", "VZMacMachineIdentifier", "VZMacOSBootLoader", "VZMacOSConfigurationRequirements", "VZMacOSInstaller", "VZMacOSRestoreImage", "VZMacOSVirtualMachineStartOptions", "VZMacPlatformConfiguration", "VZMacTrackpadConfiguration", "VZMemoryBalloonDevice", "VZMemoryBalloonDeviceConfiguration", "VZMultipleDirectoryShare", "VZNATNetworkDeviceAttachment", "VZNVMExpressControllerDeviceConfiguration", "VZNetworkBlockDeviceStorageDeviceAttachment", "VZNetworkDevice", "VZNetworkDeviceAttachment", "VZNetworkDeviceConfiguration", "VZPlatformConfiguration", "VZPointingDeviceConfiguration", "VZSerialPortAttachment", "VZSerialPortConfiguration", "VZSharedDirectory", "VZSingleDirectoryShare", "VZSocketDevice", "VZSocketDeviceConfiguration", "VZSpiceAgentPortAttachment", "VZStorageDeviceAttachment", "VZStorageDeviceConfiguration", "VZUSBKeyboardConfiguration", "VZUSBMassStorageDeviceConfiguration", "VZUSBScreenCoordinatePointingDeviceConfiguration", "VZVirtioBlockDeviceConfiguration", "VZVirtioConsoleDevice", "VZVirtioConsoleDeviceConfiguration", "VZVirtioConsoleDeviceSerialPortConfiguration", "VZVirtioConsolePort", "VZVirtioConsolePortArray", "VZVirtioConsolePortConfiguration", "VZVirtioConsolePortConfigurationArray", "VZVirtioEntropyDeviceConfiguration", "VZVirtioFileSystemDevice", "VZVirtioFileSystemDeviceConfiguration", "VZVirtioGraphicsDevice", "VZVirtioGraphicsDeviceConfiguration", "VZVirtioGraphicsScanout", "VZVirtioGraphicsScanoutConfiguration", "VZVirtioNetworkDeviceConfiguration", "VZVirtioSocketConnection", "VZVirtioSocketDevice", "VZVirtioSocketDeviceConfiguration", "VZVirtioSocketListener", "VZVirtioSoundDeviceConfiguration", "VZVirtioSoundDeviceInputStreamConfiguration", "VZVirtioSoundDeviceOutputStreamConfiguration", "VZVirtioSoundDeviceStreamConfiguration", "VZVirtioTraditionalMemoryBalloonDevice", "VZVirtioTraditionalMemoryBalloonDeviceConfiguration", "VZVirtualMachine", "VZVirtualMachineConfiguration", "VZVirtualMachineDelegate", "VZVirtualMachineStartOptions", "VZVirtualMachineView", "bitflags", "block2", "objc2-app-kit", ]