egui/crates
Robert Bragg 89e42884fc
Remove android-activity dependency + add activity features (#2863)
Instead of depending on android-activity directly, this exposes the
android-native-activity and android-game-activity features from Winit.

This ensures that applications can choose what android-backend they use
while also relying on Winit to decide what version of android-activity to
use - without increasing the risk of a version conflict by having a direct
dependency.

_(NB: Egui doesn't currently use the android-activity API itself)_

Since android-activity provides the `android_main()` entry point for
Android applications it's not possible to link in multiple version of
the android-activity crate and so it's particularly important to
avoid unnecessary direct dependencies that could cause a version
conflict in the future.

To help avoid the need for applications to directly depend on
android-activity the Winit crate re-exports the android-activity API
and exposes features to configure the backend so that application crates
can instead rely on Winit to pull in a compatible version of
android-activity. (This way version bumps for android-activity only
need to be synchronized with the Winit crate).

CI now enables the `android-native-activity` feature for testing.

Fixes: #2829
Fixes: #2720
Closes: #2834
2023-04-18 15:40:30 +02:00
..
ecolor Add badges to all crates' README.md 2023-02-12 18:08:13 +01:00
eframe Remove android-activity dependency + add activity features (#2863) 2023-04-18 15:40:30 +02:00
egui Update to accesskit 0.10.1 (#2855) 2023-03-30 10:23:54 +02:00
egui-wgpu egui-wgpu: Support multisampling (#2878) 2023-04-13 22:29:15 +02:00
egui-winit Remove android-activity dependency + add activity features (#2863) 2023-04-18 15:40:30 +02:00
egui_demo_app demo app: use `enum` instead of strings for demo-selector anchor (#2781) 2023-03-30 09:20:07 +02:00
egui_demo_lib Fix resizable columns option in the table demo (#2780) 2023-03-29 15:53:56 +02:00
egui_extras Add option to show icon (#2910) 2023-04-18 14:55:09 +02:00
egui_glium Add #![forbid(unsafe_code)] where unsafe isn't needed (#2773) 2023-03-29 14:39:51 +02:00
egui_glow eframe: capture a screenshot using `Frame::request_screenshot` 2023-03-29 16:34:22 +02:00
egui_web Fix broken GitHub source links due to #1940 2022-08-20 15:18:02 +02:00
emath Add #![forbid(unsafe_code)] where unsafe isn't needed (#2773) 2023-03-29 14:39:51 +02:00
epaint fix epaint bytemuck dependency (#2913) 2023-04-18 14:51:38 +02:00