librashader/librashader-runtime-mtl/Cargo.toml
2024-02-14 03:08:09 -05:00

47 lines
1.6 KiB
TOML

[package]
name = "librashader-runtime-mtl"
edition = "2021"
license = "MPL-2.0 OR GPL-3.0-only"
version = "0.2.0-beta.11"
authors = ["Ronny Chan <ronny@ronnychan.ca>"]
repository = "https://github.com/SnowflakePowered/librashader"
readme = "../README.md"
categories = ["emulators", "compilers", "graphics"]
keywords = ["shader", "retroarch", "SPIR-V"]
description = "RetroArch shaders for all."
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
[dependencies]
librashader-common = { path = "../librashader-common", features = ["metal"], version = "0.2.0-beta.11" }
librashader-presets = { path = "../librashader-presets", version = "0.2.0-beta.11" }
librashader-preprocess = { path = "../librashader-preprocess", version = "0.2.0-beta.11" }
librashader-reflect = { path = "../librashader-reflect", version = "0.2.0-beta.11" }
librashader-runtime = { path = "../librashader-runtime" , version = "0.2.0-beta.11" }
rustc-hash = "1.1.0"
thiserror = "1.0"
array-concat = "0.5.2"
bytemuck = { version = "1.12.3", features = ["derive"] }
rayon = "1.8.1"
[[test]]
name = "triangle"
path = "tests/hello_triangle/main.rs"
harness = false
[package.metadata.docs.rs]
targets = ["x86_64-apple-darwin", "aarch64-apple-darwin", "aarch64-apple-ios"]
[target.'cfg(target_vendor="apple")'.dependencies]
icrate = { version = "0.1.0" , features = [ "Metal", "Metal_all" ] }
objc2 = { version = "0.5.0", features = ["apple"] }
[features]
run_test = ["icrate/AppKit", "icrate/AppKit_all", "icrate/Foundation", "icrate/Foundation_all", "icrate/MetalKit", "icrate/MetalKit_all"]
#[lib]
#crate-type = ["lib", "staticlib"]