8765717793
Since I don't think there's a way to opt out of features from another Cargo.toml file. You'll still need to enable `nih_plug_egui`'s `opengl` feature if you disable its default features.
32 lines
1 KiB
TOML
32 lines
1 KiB
TOML
[package]
|
|
name = "nih_plug_egui"
|
|
version = "0.0.0"
|
|
edition = "2021"
|
|
authors = ["Robbert van der Helm <mail@robbertvanderhelm.nl>"]
|
|
license = "ISC"
|
|
|
|
description = "An adapter to use egui GUIs with NIH-plug"
|
|
|
|
[features]
|
|
default = ["egui-default-features", "opengl"]
|
|
|
|
# Use egui's default features
|
|
egui-default-features = ["egui/default"]
|
|
# `nih_plug_egui` always uses OpenGL since egui's wgpu backend is still unstable
|
|
# depending on the platform
|
|
opengl = []
|
|
|
|
[dependencies]
|
|
nih_plug = { path = ".." }
|
|
|
|
baseview = { git = "https://github.com/RustAudio/baseview.git", rev = "eae4033e7d2cc9c31ccaa2794d5d08eedf2f510c" }
|
|
crossbeam = "0.8"
|
|
# The `egui-default-features` feature enables the default features. This makes
|
|
# it possible to opt out of this if needed.
|
|
egui = { version = "0.19", default-features = false }
|
|
egui-baseview = { git = "https://github.com/BillyDM/egui-baseview.git", rev = "46e21cc11c57c705fb83611389399ec3d2670a44" }
|
|
lazy_static = "1.4"
|
|
parking_lot = "0.12"
|
|
# To make the state persistable
|
|
serde = { version = "1.0", features = ["derive"] }
|