[package] name = "piet-gpu-hal" version = "0.1.0" authors = ["Raph Levien "] description = "An abstraction layer for running compute kernels on GPU." license = "MIT/Apache-2.0" edition = "2018" [dependencies] ash = "0.37" ash-window = "0.11" raw-window-handle = "0.5" bitflags = "1.3.2" smallvec = "1.9" bytemuck = "1.12.1" [target.'cfg(target_os="windows")'.dependencies] winapi = { version = "0.3.9", features = [ 'd3d12', 'd3d12sdklayers', 'd3dcommon', 'd3dcompiler', 'dxgi', 'dxgi1_2', 'dxgi1_3', 'dxgi1_4', 'dxgidebug', 'dxgiformat', 'dxgitype', 'libloaderapi', 'shellscalingapi', 'synchapi', 'winbase', 'windef', 'winerror', 'winuser' ] } wio = "0.2.2" [target.'cfg(target_os="macos")'.dependencies] metal = "0.24" objc = "0.2.7" block = "0.1.6" cocoa-foundation = "0.1" # Note: foreign-types is up to 0.5 but metal hasn't upgraded to it foreign-types = "0.3.2" core-graphics-types = "0.1.1"