# 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"
name = "syphon-wgpu"
version = "0.1.1"
authors = ["BlueJayLouche <bluejaylouche@gmail.com>"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "High-level wgpu integration for Syphon"
readme = "README.md"
keywords = [
    "syphon",
    "macos",
    "wgpu",
    "gpu",
    "texture-sharing",
]
categories = [
    "os::macos-apis",
    "graphics",
    "multimedia::video",
    "rendering::engine",
]
license = "MIT"
repository = "https://github.com/BlueJayLouche/syphon-rs"

[features]
default = []
logging = [
    "log/release_max_level_warn",
    "syphon-core/logging",
]
max_perf = [
    "log/release_max_level_off",
    "syphon-core/max_perf",
]

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

[[example]]
name = "simple_test"
path = "examples/simple_test.rs"

[dependencies.bytemuck]
version = "1.16"

[dependencies.log]
version = "0.4"

[dependencies.syphon-core]
version = "0.1.1"

[dependencies.syphon-metal]
version = "0.1.1"
features = ["wgpu"]

[dependencies.wgpu]
version = "29.0"

[dependencies.wgpu-hal]
version = "29.0"

[dev-dependencies.env_logger]
version = "0.11"

[dev-dependencies.pollster]
version = "0.4"

[target.'cfg(target_os = "macos")'.dependencies.cocoa]
version = "0.26"

[target.'cfg(target_os = "macos")'.dependencies.core-foundation]
version = "0.10"

[target.'cfg(target_os = "macos")'.dependencies.io-surface]
version = "0.16"

[target.'cfg(target_os = "macos")'.dependencies.metal]
version = "0.33"

[target.'cfg(target_os = "macos")'.dependencies.objc]
version = "0.2"

[target.'cfg(target_os = "macos")'.dependencies.pollster]
version = "0.4"
