|
@ -27,7 +27,14 @@ targets = ["x86_64-unknown-linux-gnu", "wasm32-unknown-unknown"] |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
[features] |
|
|
[features] |
|
|
default = ["accesskit", "default_fonts", "glow"] |
|
|
default = [ |
|
|
|
|
|
"accesskit", |
|
|
|
|
|
"default_fonts", |
|
|
|
|
|
"glow", |
|
|
|
|
|
"wayland", |
|
|
|
|
|
"winit/default", |
|
|
|
|
|
"x11", |
|
|
|
|
|
] |
|
|
|
|
|
|
|
|
## Enable platform accessibility API implementations through [AccessKit](https://accesskit.dev/). |
|
|
## Enable platform accessibility API implementations through [AccessKit](https://accesskit.dev/). |
|
|
accesskit = ["egui/accesskit", "egui-winit/accesskit"] |
|
|
accesskit = ["egui/accesskit", "egui-winit/accesskit"] |
|
@ -42,6 +49,9 @@ glow = ["dep:glow", "dep:egui_glow", "dep:glutin", "dep:glutin-winit"] |
|
|
## Enables wayland support and fixes clipboard issue. |
|
|
## Enables wayland support and fixes clipboard issue. |
|
|
wayland = ["egui-winit/wayland"] |
|
|
wayland = ["egui-winit/wayland"] |
|
|
|
|
|
|
|
|
|
|
|
## Enables compiling for x11. |
|
|
|
|
|
x11 = ["egui-winit/x11"] |
|
|
|
|
|
|
|
|
## Enable saving app state to disk. |
|
|
## Enable saving app state to disk. |
|
|
persistence = [ |
|
|
persistence = [ |
|
|
"directories-next", |
|
|
"directories-next", |
|
@ -109,7 +119,7 @@ image = { version = "0.24", default-features = false, features = [ |
|
|
"png", |
|
|
"png", |
|
|
] } # Needed for app icon |
|
|
] } # Needed for app icon |
|
|
raw-window-handle = { version = "0.5.0" } |
|
|
raw-window-handle = { version = "0.5.0" } |
|
|
winit = "0.28.1" |
|
|
winit = { version = "0.28.1", default-features = false } |
|
|
|
|
|
|
|
|
# optional native: |
|
|
# optional native: |
|
|
directories-next = { version = "2", optional = true } |
|
|
directories-next = { version = "2", optional = true } |
|
|