144 lines
5.5 KiB
TOML
144 lines
5.5 KiB
TOML
[package]
|
|
name = "makepad-platform"
|
|
version = "2.0.0"
|
|
authors = ["Makepad <info@makepad.nl>"]
|
|
edition = "2021"
|
|
description = "Makepad platform layer"
|
|
license = "MIT OR Apache-2.0"
|
|
homepage = "https://github.com/makepad/makepad/"
|
|
repository = "https://github.com/makepad/makepad/"
|
|
metadata.makepad-auto-version = "ue5pTU0e_KaMiNqLQpo2CaD-WeQ="
|
|
|
|
[dependencies]
|
|
makepad-studio-protocol = { path = "./studio", version = "0.1.0" }
|
|
makepad-futures = { path = "../libs/futures", version = "1.0.0" }
|
|
makepad-shared-bytes = { path = "../libs/shared_bytes", version = "1.0.0" }
|
|
makepad-script-std = { path = "./script/std", version = "1.0.0" }
|
|
makepad-network = { path = "./network", version = "1.0.0", features = ["script"] }
|
|
makepad-script = { path="./script", version="1.0.0"}
|
|
makepad-live-reload-core = { path = "../libs/live_reload_core", version = "0.1.0" }
|
|
makepad-zune-png = { path = "../libs/zune/zune-png", version = "0.5.2" }
|
|
makepad-tsdf = { path = "../libs/tsdf", version = "0.1.0" }
|
|
smallvec = { version = "1.15", path = "../libs/smallvec" }
|
|
bitflags = { version = "2.10", path = "../libs/bitflags" }
|
|
|
|
[target.wasm32-unknown-unknown.dependencies]
|
|
makepad-wasm-bridge = { path = "../libs/wasm_bridge", version = "1.0.0" }
|
|
|
|
[target.aarch64-apple-darwin.dependencies]
|
|
makepad-objc-sys = { path = "../libs/objc-sys", version = "1.0.0" }
|
|
|
|
[target.x86_64-apple-darwin.dependencies]
|
|
makepad-objc-sys = { path = "../libs/objc-sys", version = "1.0.0" }
|
|
|
|
[target.x86_64-apple-ios.dependencies]
|
|
makepad-objc-sys = { path = "../libs/objc-sys", version = "1.0.0" }
|
|
|
|
[target.aarch64-apple-ios-sim.dependencies]
|
|
makepad-objc-sys = { path = "../libs/objc-sys", version = "1.0.0" }
|
|
|
|
[target.aarch64-apple-ios.dependencies]
|
|
makepad-objc-sys = { path = "../libs/objc-sys", version = "1.0.0" }
|
|
|
|
[target.x86_64-apple-tvos.dependencies]
|
|
makepad-objc-sys = { path = "../libs/objc-sys", version = "1.0.0" }
|
|
|
|
[target.aarch64-apple-tvos-sim.dependencies]
|
|
makepad-objc-sys = { path = "../libs/objc-sys", version = "1.0.0" }
|
|
|
|
[target.aarch64-apple-tvos.dependencies]
|
|
makepad-objc-sys = { path = "../libs/objc-sys", version = "1.0.0" }
|
|
|
|
[target.'cfg(any(target_os = "macos", target_os = "ios", target_os = "tvos"))'.dependencies]
|
|
makepad-apple-sys = { path = "../libs/apple_sys", version = "1.0.0" }
|
|
|
|
[target.aarch64-unknown-linux-gnu.dependencies]
|
|
wayland-client = { path = "../libs/linux/wayland-client" }
|
|
wayland-protocols = { path = "../libs/linux/wayland-protocols", features = ["client", "unstable", "staging"] }
|
|
wayland-egl = { path = "../libs/linux/wayland-egl" }
|
|
naga = { path = "../libs/vulkan/naga", version = "27.0", features = ["wgsl-in", "spv-out"]}
|
|
|
|
[target.x86_64-unknown-linux-gnu.dependencies]
|
|
wayland-client = { path = "../libs/linux/wayland-client" }
|
|
wayland-protocols = { path = "../libs/linux/wayland-protocols", features = ["client", "unstable", "staging"] }
|
|
wayland-egl = { path = "../libs/linux/wayland-egl" }
|
|
naga = { path = "../libs/vulkan/naga", version = "27.0", features = ["wgsl-in", "spv-out"]}
|
|
|
|
[target.'cfg(target_os = "android")'.dependencies]
|
|
## Note: we must not use local 'path' dependencies on `makepad-jni-sys` or `makepad-android-state`
|
|
## in order to guarantee that only one instance of each crate exists in the app binary.
|
|
makepad-jni-sys = {version = "0.4.0"}
|
|
makepad-android-state = {version = "0.1.0"}
|
|
naga = { path = "../libs/vulkan/naga", version = "27.0", features = ["wgsl-in", "spv-out"]}
|
|
ash = { path = "../libs/vulkan/ash", version = "0.38" }
|
|
|
|
[target.'cfg(target_env = "ohos")'.dependencies]
|
|
hilog-sys = "0.1.1"
|
|
napi-derive-ohos = "0.0.9"
|
|
napi-ohos = "0.1.3"
|
|
ohos-sys = { version = "0.2.1", features = ["xcomponent"] }
|
|
|
|
[target.'cfg(any(target_os = "linux", target_os = "macos", target_os = "windows"))'.dependencies]
|
|
ctrlc = { version = "3.4", features = ["termination"] }
|
|
|
|
[target.'cfg(windows)'.dependencies.makepad-futures-legacy]
|
|
path = "../libs/futures_legacy"
|
|
version = "1.0.0"
|
|
|
|
[target.'cfg(windows)'.dependencies.windows-core]
|
|
path = "../libs/windows/windows-core"
|
|
version = "0.62.2"
|
|
|
|
[target.'cfg(windows)'.dependencies.windows]
|
|
path = "../libs/windows/windows-rs"
|
|
version = "0.62.2"
|
|
features = [
|
|
"Win32_Foundation",
|
|
"Win32_UI_WindowsAndMessaging",
|
|
"Win32_System_LibraryLoader",
|
|
"Win32_System_Performance",
|
|
"Win32_Graphics_Gdi",
|
|
"Win32_Graphics_Dwm",
|
|
"Win32_UI_HiDpi",
|
|
"Win32_System_Memory",
|
|
"Win32_System_SystemServices",
|
|
"Win32_System_WindowsProgramming",
|
|
"Win32_System_DataExchange",
|
|
"Win32_UI_Controls",
|
|
"Win32_UI_Input_KeyboardAndMouse",
|
|
"Win32_UI_Input_XboxController",
|
|
"Win32_Graphics_Direct3D11",
|
|
"Win32_Graphics_Direct3D",
|
|
"Win32_Graphics_Dxgi",
|
|
"Win32_Graphics_Dxgi_Common",
|
|
"Win32_Graphics_Direct3D_Fxc",
|
|
"Win32_Media_Audio",
|
|
"Win32_Media_Multimedia",
|
|
"Win32_Media_KernelStreaming",
|
|
"Win32_System_Com",
|
|
"Win32_System_Com_StructuredStorage",
|
|
"Win32_UI_Shell_PropertiesSystem",
|
|
"Win32_System_Ole",
|
|
"Win32_Devices_FunctionDiscovery",
|
|
"Win32_System_Threading",
|
|
"Win32_Security",
|
|
"Win32_Media_MediaFoundation",
|
|
"Win32_System_Variant",
|
|
"Win32_System_SystemServices",
|
|
"Win32_System_WinRT",
|
|
"Win32_Devices_HumanInterfaceDevice",
|
|
"Win32_UI_Input_Ime",
|
|
"Win32_Globalization",
|
|
"Devices_Enumeration",
|
|
"Devices_Midi",
|
|
"Foundation_Collections",
|
|
"Storage",
|
|
"Web_Http",
|
|
"Web_Http_Headers",
|
|
"Storage_Streams",
|
|
]
|
|
|
|
## The vast majority of the Rust ecosystem is currently on
|
|
## `windows-targets` v0.52.*, so we use that version to avoid duplicates.
|
|
[target.'cfg(windows)'.dependencies.windows-targets]
|
|
version = "0.52"
|