mirror of
https://github.com/emilk/egui.git
synced 2026-06-27 15:13:12 -04:00
This example does not use the default features from eframe in order to avoid accesskit, which panics when run from multiple threads, so it must manually enable the other default features in order to compile correctly on Linux. * Closes <https://github.com/emilk/egui/issues/4682>
31 lines
695 B
TOML
31 lines
695 B
TOML
[package]
|
|
name = "hello_world_par"
|
|
version = "0.1.0"
|
|
authors = ["Maxim Osipenko <maxim1999max@gmail.com>"]
|
|
license = "MIT OR Apache-2.0"
|
|
edition = "2021"
|
|
rust-version = "1.76"
|
|
publish = false
|
|
|
|
[lints]
|
|
workspace = true
|
|
|
|
|
|
[dependencies]
|
|
eframe = { workspace = true, default-features = false, features = [
|
|
# accesskit struggles with threading
|
|
"default_fonts",
|
|
"wayland",
|
|
"x11",
|
|
"wgpu",
|
|
] }
|
|
env_logger = { version = "0.10", default-features = false, features = [
|
|
"auto-color",
|
|
"humantime",
|
|
] }
|
|
# This is normally enabled by eframe/default, which is not being used here
|
|
# because of accesskit, as mentioned above
|
|
winit = { workspace = true, features = [
|
|
"default"
|
|
] }
|