blade-graphics 0.8.2

Graphics abstraction for Blade
Documentation
# 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 = "2024"
name = "blade-graphics"
version = "0.8.2"
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Graphics abstraction for Blade"
readme = "README.md"
keywords = ["graphics"]
license = "MIT"
repository = "https://github.com/kvark/blade"
resolver = "2"

[package.metadata.cargo_check_external_types]
allowed_external_types = [
    "bitflags::*",
    "mint::*",
    "naga::*",
    "raw_window_handle::*",
]

[features]

[lib]
name = "blade_graphics"
path = "src/lib.rs"

[dependencies.bitflags]
version = "2"

[dependencies.bytemuck]
version = "1"
features = ["derive"]

[dependencies.codespan-reporting]
version = "0.13"

[dependencies.hidden-trait]
version = "0.1"

[dependencies.log]
version = "0.4"

[dependencies.mint]
version = "0.5"

[dependencies.naga]
version = "29"
features = [
    "wgsl-in",
    "termcolor",
]

[dependencies.once_cell]
version = "1"

[dependencies.raw-window-handle]
version = "0.6"

[target.'cfg(all(gles, not(target_arch = "wasm32")))'.dependencies.egl]
version = "6.0"
features = ["dynamic"]
package = "khronos-egl"

[target.'cfg(all(gles, not(target_arch = "wasm32")))'.dependencies.libc]
version = "0.2"

[target.'cfg(all(gles, not(target_arch = "wasm32")))'.dependencies.libloading]
version = "0.8"

[target.'cfg(all(target_arch = "wasm32"))'.dependencies.js-sys]
version = "0.3.60"

[target.'cfg(all(target_arch = "wasm32"))'.dependencies.wasm-bindgen]
version = "0.2.83"

[target.'cfg(all(target_arch = "wasm32"))'.dependencies.web-sys]
version = "0.3.60"
features = [
    "HtmlCanvasElement",
    "WebGl2RenderingContext",
]

[target.'cfg(any(gles, target_arch = "wasm32"))'.dependencies.glow]
version = "0.16"

[target.'cfg(any(gles, target_arch = "wasm32"))'.dependencies.naga]
version = "29"
features = [
    "wgsl-in",
    "termcolor",
    "glsl-out",
]

[target.'cfg(any(target_os = "ios", target_os = "macos"))'.dependencies.naga]
version = "29"
features = [
    "wgsl-in",
    "termcolor",
    "msl-out",
]

[target.'cfg(any(target_os = "ios", target_os = "macos"))'.dependencies.objc2]
version = "0.6"

[target.'cfg(any(target_os = "ios", target_os = "macos"))'.dependencies.objc2-core-foundation]
version = "0.3"
features = ["CFCGTypes"]
default-features = false

[target.'cfg(any(target_os = "ios", target_os = "macos"))'.dependencies.objc2-foundation]
version = "0.3"
features = [
    "std",
    "NSArray",
    "NSData",
]
default-features = false

[target.'cfg(any(target_os = "ios", target_os = "macos"))'.dependencies.objc2-metal]
version = "0.3"
features = [
    "std",
    "MTLTypes",
    "MTLPixelFormat",
    "MTLAllocation",
    "MTLResource",
    "MTLBuffer",
    "MTLTexture",
    "MTLSampler",
    "MTLDrawable",
    "MTLAccelerationStructure",
    "MTLAccelerationStructureTypes",
    "MTLCounters",
    "MTLLibrary",
    "MTLStageInputOutputDescriptor",
    "MTLComputePipeline",
    "MTLVertexDescriptor",
    "MTLDepthStencil",
    "MTLComputePipeline",
    "MTLRenderPipeline",
    "MTLCommandBuffer",
    "MTLCommandEncoder",
    "MTLAccelerationStructureCommandEncoder",
    "MTLBlitCommandEncoder",
    "MTLComputeCommandEncoder",
    "MTLRenderCommandEncoder",
    "MTLBlitPass",
    "MTLComputePass",
    "MTLRenderPass",
    "MTLCommandQueue",
    "MTLDevice",
    "MTLCaptureManager",
    "MTLCaptureScope",
    "block2",
]
default-features = false

[target.'cfg(any(target_os = "ios", target_os = "macos"))'.dependencies.objc2-quartz-core]
version = "0.3"
features = [
    "std",
    "objc2-metal",
    "objc2-core-foundation",
    "CALayer",
    "CAMetalLayer",
]
default-features = false

[target.'cfg(any(vulkan, windows, target_os = "linux", target_os = "android", target_os = "freebsd"))'.dependencies.ash]
version = "0.38"

[target.'cfg(any(vulkan, windows, target_os = "linux", target_os = "android", target_os = "freebsd"))'.dependencies.ash-window]
version = "0.13"

[target.'cfg(any(vulkan, windows, target_os = "linux", target_os = "android", target_os = "freebsd"))'.dependencies.gpu-alloc]
version = "0.6"

[target.'cfg(any(vulkan, windows, target_os = "linux", target_os = "android", target_os = "freebsd"))'.dependencies.gpu-alloc-ash]
version = "0.7"

[target.'cfg(any(vulkan, windows, target_os = "linux", target_os = "android", target_os = "freebsd"))'.dependencies.naga]
version = "29"
features = [
    "wgsl-in",
    "termcolor",
    "spv-out",
]

[target.'cfg(any(vulkan, windows, target_os = "linux", target_os = "android", target_os = "freebsd"))'.dependencies.openxr]
version = "0.19"

[target.'cfg(any(vulkan, windows, target_os = "linux", target_os = "android", target_os = "freebsd"))'.dependencies.slab]
version = "0.4"

[target.'cfg(target_os = "ios")'.dependencies.objc2-ui-kit]
version = "0.3"
features = [
    "std",
    "objc2-quartz-core",
    "objc2-core-foundation",
    "UIResponder",
    "UIView",
    "UIWindow",
    "UIScene",
    "UIWindowScene",
    "UIScreen",
]
default-features = false

[target.'cfg(target_os = "macos")'.dependencies.objc2-app-kit]
version = "0.3"
features = [
    "std",
    "objc2-quartz-core",
    "objc2-core-foundation",
    "NSResponder",
    "NSView",
    "NSWindow",
]
default-features = false

[lints.rust.unexpected_cfgs]
level = "allow"
priority = 0
check-cfg = ["cfg(gles)"]