2024-02-10 10:22:14 +11:00
|
|
|
[package]
|
2024-02-13 15:41:18 +11:00
|
|
|
name = "librashader-runtime-mtl"
|
2024-02-10 10:22:14 +11:00
|
|
|
edition = "2021"
|
|
|
|
|
|
|
|
license = "MPL-2.0 OR GPL-3.0-only"
|
2024-02-14 19:08:40 +11:00
|
|
|
version = "0.2.0-rc.1"
|
2024-02-10 10:22:14 +11:00
|
|
|
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]
|
2024-02-14 19:08:40 +11:00
|
|
|
librashader-common = { path = "../librashader-common", features = ["metal"], version = "0.2.0-rc.1" }
|
|
|
|
librashader-presets = { path = "../librashader-presets", version = "0.2.0-rc.1" }
|
|
|
|
librashader-preprocess = { path = "../librashader-preprocess", version = "0.2.0-rc.1" }
|
|
|
|
librashader-reflect = { path = "../librashader-reflect", version = "0.2.0-rc.1" }
|
|
|
|
librashader-runtime = { path = "../librashader-runtime" , version = "0.2.0-rc.1" }
|
2024-02-10 10:22:14 +11:00
|
|
|
|
2024-02-10 16:04:16 +11:00
|
|
|
thiserror = "1.0"
|
|
|
|
array-concat = "0.5.2"
|
2024-02-12 09:54:13 +11:00
|
|
|
bytemuck = { version = "1.12.3", features = ["derive"] }
|
2024-02-12 12:38:55 +11:00
|
|
|
rayon = "1.8.1"
|
2024-02-10 10:22:14 +11:00
|
|
|
|
2024-02-12 16:12:08 +11:00
|
|
|
[[test]]
|
|
|
|
name = "triangle"
|
|
|
|
path = "tests/hello_triangle/main.rs"
|
|
|
|
harness = false
|
|
|
|
|
2024-02-10 10:22:14 +11:00
|
|
|
[package.metadata.docs.rs]
|
2024-02-13 19:03:45 +11:00
|
|
|
targets = ["x86_64-apple-darwin", "aarch64-apple-darwin", "aarch64-apple-ios"]
|
2024-02-12 10:01:13 +11:00
|
|
|
|
|
|
|
[target.'cfg(target_vendor="apple")'.dependencies]
|
2024-02-13 19:03:45 +11:00
|
|
|
icrate = { version = "0.1.0" , features = [ "Metal", "Metal_all" ] }
|
2024-02-12 16:43:51 +11:00
|
|
|
objc2 = { version = "0.5.0", features = ["apple"] }
|
2024-02-13 19:00:19 +11:00
|
|
|
|
|
|
|
[features]
|
2024-02-13 19:03:45 +11:00
|
|
|
|
2024-02-13 19:00:19 +11:00
|
|
|
run_test = ["icrate/AppKit", "icrate/AppKit_all", "icrate/Foundation", "icrate/Foundation_all", "icrate/MetalKit", "icrate/MetalKit_all"]
|
|
|
|
|
2024-02-12 16:43:51 +11:00
|
|
|
#[lib]
|
|
|
|
#crate-type = ["lib", "staticlib"]
|