This repository was archived by the owner on Apr 17, 2026. It is now read-only.
-
-
Notifications
You must be signed in to change notification settings - Fork 33
Expand file tree
/
Copy pathCargo.toml
More file actions
66 lines (60 loc) · 2.51 KB
/
Copy pathCargo.toml
File metadata and controls
66 lines (60 loc) · 2.51 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
[package]
name = "egui-baseview"
version = "0.7.0"
authors = ["Billy Messenger <60663878+BillyDM@users.noreply.github.com>"]
description = "A baseview backend for egui"
documentation = "https://docs.rs/egui-baseview"
keywords = ["gui", "ui", "graphics", "interface", "widgets"]
categories = ["gui"]
edition.workspace = true
license.workspace = true
repository.workspace = true
readme.workspace = true
[workspace.package]
edition = "2021"
license = "MIT"
repository = "https://github.com/BillyDM/egui-baseview"
readme = "README.md"
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
[features]
default = ["opengl", "default_fonts", "tracing"]
default_fonts = ["egui/default_fonts"]
opengl = ["dep:egui_glow", "baseview/opengl"]
wgpu = ["dep:egui-wgpu", "dep:raw-window-handle-06", "dep:pollster", "dep:wgpu"]
## Enable parallel tessellation using [`rayon`](https://docs.rs/rayon).
##
## This can help performance for graphics-intense applications.
rayon = ["egui/rayon"]
## Enables a temporary workaround for keyboard input not working sometimes.
## See https://github.com/BillyDM/egui-baseview/issues/20
keyboard_focus_workaround = []
## Enables logging using NIH-plug's logging feature
nih_log = ["dep:nih_plug"]
## Enable this if `nih_log` is disabled
tracing = ["dep:tracing"]
[workspace]
members = [
"nih_plug_egui",
"nih_plug_egui/xtask",
"examples/nih_plug_gain_egui"
]
[workspace.dependencies]
raw-window-handle = "0.5"
baseview = { git = "https://github.com/RustAudio/baseview.git", rev = "237d323c729f3aa99476ba3efa50129c5e86cad3" }
nih_plug = { git = "https://github.com/robbert-vdh/nih-plug.git", rev = "28b149ec4d62757d0b448809148a0c3ca6e09a95", default-features = false }
[dependencies]
baseview.workspace = true
raw-window-handle.workspace = true
egui = { version = "0.33", default-features = false, features = ["bytemuck"] }
egui_glow = { version = "0.33", features = ["x11"], optional = true }
egui-wgpu = { version = "0.33", features = ["x11"], optional = true }
wgpu = { version = "27.0.1", optional = true }
keyboard-types = { version = "0.6", default-features = false }
raw-window-handle-06 = { package = "raw-window-handle", version = "0.6", optional = true }
# TODO: Enable wayland feature when baseview gets wayland support.
copypasta = { version = "0.10", default-features = false, features = ["x11"] }
nih_plug = { workspace = true, optional = true }
tracing = { version = "0.1", optional = true }
open = "5.1"
pollster = { version = "0.4", optional = true }
thiserror = "2.0"