[package]
edition = "2024"
rust-version = "1.92"
name = "truce-gui"
version = "0.49.16"
build = "build.rs"
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Built-in GUI for truce plugins"
homepage = "https://github.com/truce-audio/truce"
readme = "README.md"
license = "Apache-2.0 OR MIT"
repository = "https://github.com/truce-audio/truce"
resolver = "2"
[features]
cpu = ["dep:truce-cpu"]
default = ["cpu"]
gpu = ["dep:truce-gpu"]
[lib]
name = "truce_gui"
path = "src/lib.rs"
[dependencies.log]
version = "0.4"
[dependencies.pollster]
version = "0.4"
[dependencies.raw-window-handle]
version = "0.5"
[dependencies.truce-core]
version = "0.49.16"
[dependencies.truce-cpu]
version = "0.49.16"
optional = true
[dependencies.truce-gpu]
version = "0.49.16"
optional = true
[dependencies.truce-gui-types]
version = "0.49.16"
[dependencies.truce-params]
version = "0.49.16"
[dependencies.truce-plugin]
version = "0.49.16"
[dependencies.wgpu]
version = "29"
features = ["wgsl"]
default-features = false
[target.'cfg(not(target_os = "ios"))'.dependencies.baseview]
version = "0.1.1-truce.4"
package = "baseview-truce"
[target.'cfg(target_os = "ios")'.dependencies.objc2]
version = "0.6"
[target.'cfg(target_os = "ios")'.dependencies.objc2-foundation]
version = "0.3"
features = [
"NSString",
"NSGeometry",
]
[target.'cfg(target_os = "ios")'.dependencies.objc2-quartz-core]
version = "0.3"
features = [
"CALayer",
"CAMetalLayer",
]
[target.'cfg(target_os = "ios")'.dependencies.objc2-ui-kit]
version = "0.3"
features = [
"UIView",
"UIScreen",
"UIWindow",
]
[target.'cfg(target_os = "ios")'.dependencies.truce-cpu]
version = "0.49.16"
[target.'cfg(target_os = "linux")'.dependencies.wgpu]
version = "29"
features = [
"wgsl",
"vulkan",
"gles",
]
default-features = false
[target.'cfg(target_os = "macos")'.dependencies.objc]
version = "0.2"
[target.'cfg(target_os = "macos")'.dependencies.wgpu]
version = "29"
features = [
"wgsl",
"metal",
]
default-features = false
[target.'cfg(target_os = "windows")'.dependencies.wgpu]
version = "29"
features = [
"wgsl",
"dx12",
]
default-features = false
[lints.clippy.pedantic]
level = "warn"
priority = -1
[lints.rust.unexpected_cfgs]
level = "warn"
priority = 0
check-cfg = ['cfg(feature, values("cargo-clippy"))']