-
-
Notifications
You must be signed in to change notification settings - Fork 17
/
Cargo.toml
43 lines (40 loc) · 1.78 KB
/
Cargo.toml
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
[package]
name = "egui-baseview"
version = "0.3.0"
authors = ["Billy Messenger <BillyDM@tutamail.com>"]
edition = "2021"
description = "A baseview backend for egui"
license = "MIT"
repository = "https://github.com/BillyDM/egui-baseview"
documentation = "https://docs.rs/egui-baseview"
keywords = ["gui", "ui", "graphics", "interface", "widgets"]
categories = ["gui"]
readme = "README.md"
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
[features]
default = ["opengl", "default_fonts"]
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 in Windows.
## See https://github.com/BillyDM/egui-baseview/issues/20
windows_keyboard_workaround = []
[dependencies]
egui = { version = "0.29", default-features = false, features = ["bytemuck"] }
egui_glow = { version = "0.29", optional = true }
egui-wgpu = { version = "0.29", optional = true }
wgpu = { version = "22.1.0", optional = true }
keyboard-types = { version = "0.6", default-features = false }
baseview = { git = "https://github.com/RustAudio/baseview.git", rev = "579130ecb4f9f315ae52190af42f0ea46aeaa4a2" }
raw-window-handle = "0.5"
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"] }
log = "0.4"
open = "5.1"
pollster = { version = "0.3.0", optional = true }
thiserror = "1.0.61"