[package]
edition = "2024"
name = "unity-native-plugin"
version = "0.9.0"
authors = ["Yasuhiro Taniuchi"]
build = false
include = [
"**/*.rs",
"Cargo.toml",
"../LICENSE",
"../LICENSE_UnityNativePluginAPI.md",
"../LICENSE_VulkanHeaders.md",
]
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Unity Native Plugin API for Rust"
homepage = "https://github.com/aosoft/unity-native-plugin-rs"
readme = "README.md"
keywords = ["unity"]
categories = [
"api-bindings",
"game-engines",
]
license = "MIT"
repository = "https://github.com/aosoft/unity-native-plugin-rs"
[features]
d3d11 = []
d3d12 = []
default = []
metal = [
"dep:objc2",
"dep:objc2-foundation",
"dep:objc2-metal",
]
profiler = []
vulkan = [
"dep:ash",
"unity-native-plugin-sys/vulkan",
]
[lib]
name = "unity_native_plugin"
path = "src/lib.rs"
[dependencies.ash]
version = "0.38.0"
optional = true
[dependencies.unity-native-plugin-sys]
version = "0.9.0"
[target.'cfg(target_vendor = "apple")'.dependencies.objc2]
version = "0.6.3"
optional = true
[target.'cfg(target_vendor = "apple")'.dependencies.objc2-foundation]
version = "0.3.2"
optional = true
[target.'cfg(target_vendor = "apple")'.dependencies.objc2-metal]
version = "0.3.2"
optional = true