@@ -39,19 +39,23 @@ default = [
39
39
# # Enable platform accessibility API implementations through [AccessKit](https://accesskit.dev/).
40
40
accesskit = [" egui/accesskit" , " egui-winit/accesskit" ]
41
41
42
+ # Allow crates to choose an android-activity backend via Winit
43
+ # - It's important that most applications should not have to depend on android-activity directly, and can
44
+ # rely on Winit to pull in a suitable version (unlike most Rust crates, any version conflicts won't link)
45
+ # - It's also important that we don't impose an android-activity backend by taking this choice away from applications.
46
+
47
+ # # Enable the `game-activity` backend via `egui-winit` on Android
48
+ android-game-activity = [" egui-winit/android-game-activity" ]
49
+ # # Enable the `native-activity` backend via `egui-winit` on Android
50
+ android-native-activity = [" egui-winit/android-native-activity" ]
51
+
42
52
# # If set, egui will use `include_bytes!` to bundle some fonts.
43
53
# # If you plan on specifying your own fonts you may disable this feature.
44
54
default_fonts = [" egui/default_fonts" ]
45
55
46
56
# # Use [`glow`](https://github.com/grovesNL/glow) for painting, via [`egui_glow`](https://github.com/emilk/egui/tree/master/crates/egui_glow).
47
57
glow = [" dep:glow" , " dep:egui_glow" , " dep:glutin" , " dep:glutin-winit" ]
48
58
49
- # # Enables wayland support and fixes clipboard issue.
50
- wayland = [" egui-winit/wayland" ]
51
-
52
- # # Enables compiling for x11.
53
- x11 = [" egui-winit/x11" ]
54
-
55
59
# # Enable saving app state to disk.
56
60
persistence = [
57
61
" directories-next" ,
@@ -63,32 +67,29 @@ persistence = [
63
67
64
68
# # Enable profiling with the [`puffin`](https://docs.rs/puffin) crate.
65
69
# #
66
- # # Only enabled on native, because of the low resolution (1ms) of clocks in browsers.
67
70
# # `eframe` will call `puffin::GlobalProfiler::lock().new_frame()` for you
71
+ # #
72
+ # # Only enabled on native, because of the low resolution (1ms) of clocks in browsers.
68
73
puffin = [" dep:puffin" , " egui/puffin" , " egui_glow?/puffin" , " egui-wgpu?/puffin" ]
69
74
75
+ # # Enables wayland support and fixes clipboard issue.
76
+ wayland = [" egui-winit/wayland" ]
77
+
70
78
# # Enable screen reader support (requires `ctx.options_mut(|o| o.screen_reader = true);`) on web.
71
79
# #
72
- # # For other platforms, use the " accesskit" feature instead.
80
+ # # For other platforms, use the ` accesskit` feature instead.
73
81
web_screen_reader = [" tts" ]
74
82
75
- # # If set, eframe will look for the env-var `EFRAME_SCREENSHOT_TO` and write a screenshot to that location, and then quit.
76
- # # This is used to generate images for the examples.
77
- __screenshot = []
78
-
79
83
# # Use [`wgpu`](https://docs.rs/wgpu) for painting (via [`egui-wgpu`](https://github.com/emilk/egui/tree/master/crates/egui-wgpu)).
80
84
# # This overrides the `glow` feature.
81
85
wgpu = [" dep:wgpu" , " dep:egui-wgpu" , " dep:pollster" , " dep:raw-window-handle" ]
82
86
83
- # Allow crates to choose an android-activity backend via Winit
84
- # - It's important that most applications should not have to depend on android-activity directly, and can
85
- # rely on Winit to pull in a suitable version (unlike most Rust crates, any version conflicts won't link)
86
- # - It's also important that we don't impose an android-activity backend by taking this choice away from applications.
87
+ # # Enables compiling for x11.
88
+ x11 = [" egui-winit/x11" ]
87
89
88
- # # Enable the `native-activity` backend via `egui-winit` on Android
89
- android-native-activity = [" egui-winit/android-native-activity" ]
90
- # # Enable the `game-activity` backend via `egui-winit` on Android
91
- android-game-activity = [" egui-winit/android-game-activity" ]
90
+ # # If set, eframe will look for the env-var `EFRAME_SCREENSHOT_TO` and write a screenshot to that location, and then quit.
91
+ # # This is used to generate images for examples.
92
+ __screenshot = []
92
93
93
94
[dependencies ]
94
95
egui = { version = " 0.22.0" , path = " ../egui" , default-features = false , features = [
0 commit comments