[package]
edition = "2024"
rust-version = "1.97"
name = "concinnity-device"
version = "0.19.24"
authors = ["Grant Wilkes <grant@concinnity.gg>"]
build = "build.rs"
include = [
"/README.md",
"/src",
"/build.rs",
]
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "GPU backends (Metal, Vulkan, DirectX) behind a device facade for Concinnity"
homepage = "https://concinnity.gg"
readme = "README.md"
keywords = [
"gamedev",
"vulkan",
"metal",
"directx",
"concinnity",
]
categories = [
"game-engines",
"rendering::graphics-api",
]
license = "MIT"
repository = "https://github.com/concinnitygg/concinnity"
resolver = "2"
[features]
default = ["native"]
directx = []
metal = []
native = []
vulkan = ["dep:ash"]
[lib]
name = "concinnity_device"
path = "src/lib.rs"
[dependencies.bytemuck]
version = "1"
features = ["derive"]
[dependencies.concinnity-core]
version = "0.19"
[dependencies.concinnity-host]
version = "0.19"
[dependencies.concinnity-slang]
version = "0.19"
[dependencies.hex]
version = "0.4.3"
[dependencies.libloading]
version = "0.9.0"
[dependencies.notify]
version = "8"
features = ["macos_fsevent"]
default-features = false
[dependencies.png]
version = "0.18.1"
[dependencies.postcard]
version = "1"
features = ["use-std"]
default-features = false
[dependencies.rayon]
version = "1"
[dependencies.sha2]
version = "0.11.0"
[dependencies.tracing]
version = "0.1.44"
[dev-dependencies.serde_json]
version = "1"
[build-dependencies.concinnity-core]
version = "0.19"
[build-dependencies.concinnity-slang]
version = "0.19"
[build-dependencies.concinnity-toolchain]
version = "0.19"
[target.'cfg(not(any(target_os = "macos", target_os = "windows")))'.dependencies.ash]
version = "0.38"
[target.'cfg(not(any(target_os = "macos", target_os = "windows")))'.dependencies.glfw]
version = "0.62.0"
[target.'cfg(target_os = "macos")'.dependencies.ash]
version = "0.38"
optional = true
[target.'cfg(target_os = "macos")'.dependencies.block2]
version = "0.6.2"
[target.'cfg(target_os = "macos")'.dependencies.dispatch2]
version = "0.3.1"
[target.'cfg(target_os = "macos")'.dependencies.objc2]
version = "0.6.4"
[target.'cfg(target_os = "macos")'.dependencies.objc2-app-kit]
version = "0.3.2"
[target.'cfg(target_os = "macos")'.dependencies.objc2-core-foundation]
version = "0.3.2"
[target.'cfg(target_os = "macos")'.dependencies.objc2-core-graphics]
version = "0.3.2"
[target.'cfg(target_os = "macos")'.dependencies.objc2-foundation]
version = "0.3.2"
[target.'cfg(target_os = "macos")'.dependencies.objc2-metal]
version = "0.3.2"
[target.'cfg(target_os = "macos")'.dependencies.objc2-metal-fx]
version = "0.3.2"
[target.'cfg(target_os = "macos")'.dependencies.objc2-metal-kit]
version = "0.3.2"
[target.'cfg(target_os = "macos")'.dependencies.objc2-quartz-core]
version = "0.3.2"
[target.'cfg(target_os = "windows")'.dependencies.ash]
version = "0.38"
optional = true
[target.'cfg(target_os = "windows")'.dependencies.windows]
version = "0.62.2"
features = [
"Win32_Foundation",
"Win32_Graphics_Direct3D",
"Win32_Graphics_Direct3D12",
"Win32_Graphics_Direct3D_Dxc",
"Win32_Graphics_Dxgi",
"Win32_Graphics_Dxgi_Common",
"Win32_Graphics_Gdi",
"Win32_Security",
"Win32_System_LibraryLoader",
"Win32_System_Threading",
"Win32_UI_Input",
"Win32_UI_Input_KeyboardAndMouse",
"Win32_UI_WindowsAndMessaging",
]
[lints.clippy]
allow_attributes = "warn"
allow_attributes_without_reason = "warn"
dbg_macro = "warn"
empty_enum_variants_with_brackets = "warn"
infinite_loop = "warn"
lossy_float_literal = "warn"
mem_forget = "warn"
mixed_attributes_style = "warn"
todo = "warn"
undocumented_unsafe_blocks = "warn"
unimplemented = "warn"
unnecessary_self_imports = "warn"
[lints.rust]
future_incompatible = "warn"
missing_docs = "warn"
trivial_numeric_casts = "warn"
unreachable_pub = "warn"