# 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" rust-version = "1.60" name = "objc2-virtualization" version = "0.2.2" build = false autobins = false autoexamples = false autotests = false autobenches = false description = "Bindings to the Virtualization framework" readme = "README.md" keywords = [ "cocoa", "apple", "framework", "macos", ] categories = [ "api-bindings", "development-tools::ffi", "external-ffi-bindings", "os::macos-apis", ] license = "MIT" repository = "https://github.com/madsmtm/objc2" [package.metadata.docs.rs] default-target = "aarch64-apple-darwin" features = ["all"] targets = [ "aarch64-apple-darwin", "x86_64-apple-darwin", ] [lib] name = "objc2_virtualization" path = "src/lib.rs" [dependencies.bitflags] version = "2.5.0" optional = true default-features = false [dependencies.block2] version = "0.5.1" optional = true default-features = false [dependencies.objc2] version = "0.5.2" default-features = false [dependencies.objc2-app-kit] version = "0.2.2" optional = true default-features = false [dependencies.objc2-foundation] version = "0.2.2" default-features = false [features] 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", ] 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", ] default = ["std"] objc2-app-kit = ["dep:objc2-app-kit"] std = [ "alloc", "bitflags?/std", "block2?/std", "objc2/std", "objc2-app-kit?/std", "objc2-foundation/std", ] [lints.clippy] cargo = "warn" ptr_as_ptr = "warn" [lints.rust] elided_lifetimes_in_paths = "warn" missing_copy_implementations = "warn" missing_debug_implementations = "warn" non_ascii_idents = "deny" unreachable_pub = "warn" unsafe_op_in_unsafe_fn = "deny"