[dependencies.ahash]
default-features = false
features = ["no-rng", "std"]
version = "0.8.11"
[dependencies.document-features]
version = " 0.2.8"
[dependencies.egui]
default-features = false
features = ["bytemuck", "log"]
version = "0.29.1"
[dependencies.egui_glow]
default-features = false
optional = true
version = "0.29.1"
[dependencies.glow]
optional = true
version = "0.14"
[dependencies.log]
features = ["std"]
version = "0.4"
[dependencies.parking_lot]
version = "0.12"
[dependencies.raw-window-handle]
version = "0.6.0"
[dependencies.ron]
features = ["integer128"]
optional = true
version = "0.8"
[dependencies.serde]
features = ["derive"]
optional = true
version = "1"
[dependencies.static_assertions]
version = "1.1.0"
[dependencies.web-time]
version = "1.1.0"
[features]
__screenshot = []
accesskit = ["egui/accesskit", "egui-winit/accesskit"]
android-game-activity = ["egui-winit/android-game-activity"]
android-native-activity = ["egui-winit/android-native-activity"]
default = ["accesskit", "default_fonts", "glow", "wayland", "web_screen_reader", "winit/default", "x11", "egui-wgpu?/fragile-send-sync-non-atomic-wasm"]
default_fonts = ["egui/default_fonts"]
glow = ["dep:egui_glow", "dep:glow", "dep:glutin-winit", "dep:glutin"]
persistence = ["dep:home", "egui-winit/serde", "egui/persistence", "ron", "serde"]
puffin = ["dep:puffin", "egui/puffin", "egui_glow?/puffin", "egui-wgpu?/puffin", "egui-winit/puffin"]
wayland = ["egui-winit/wayland", "egui-wgpu?/wayland", "egui_glow?/wayland"]
web_screen_reader = ["web-sys/SpeechSynthesis", "web-sys/SpeechSynthesisUtterance"]
wgpu = ["dep:wgpu", "dep:egui-wgpu", "dep:pollster"]
x11 = ["egui-winit/x11", "egui-wgpu?/x11", "egui_glow?/x11"]
[lib]
[lints.clippy]
as_ptr_cast_mut = "warn"
await_holding_lock = "warn"
bool_to_int_with_if = "warn"
char_lit_as_u8 = "warn"
checked_conversions = "warn"
clear_with_drain = "warn"
cloned_instead_of_copied = "warn"
dbg_macro = "warn"
debug_assert_with_mut_call = "warn"
derive_partial_eq_without_eq = "warn"
disallowed_macros = "warn"
disallowed_methods = "warn"
disallowed_names = "warn"
disallowed_script_idents = "warn"
disallowed_types = "warn"
doc_link_with_quotes = "warn"
doc_markdown = "warn"
empty_enum = "warn"
enum_glob_use = "warn"
equatable_if_let = "warn"
exit = "warn"
expl_impl_clone_on_copy = "warn"
explicit_deref_methods = "warn"
explicit_into_iter_loop = "warn"
explicit_iter_loop = "warn"
fallible_impl_from = "warn"
filter_map_next = "warn"
flat_map_option = "warn"
float_cmp_const = "warn"
fn_params_excessive_bools = "warn"
fn_to_numeric_cast_any = "warn"
from_iter_instead_of_collect = "warn"
get_unwrap = "warn"
if_let_mutex = "warn"
implicit_clone = "warn"
implied_bounds_in_impls = "warn"
imprecise_flops = "warn"
index_refutable_slice = "warn"
inefficient_to_string = "warn"
infinite_loop = "warn"
into_iter_without_iter = "warn"
invalid_upcast_comparisons = "warn"
iter_not_returning_iterator = "warn"
iter_on_empty_collections = "warn"
iter_on_single_items = "warn"
iter_over_hash_type = "allow"
iter_without_into_iter = "warn"
large_digit_groups = "warn"
large_include_file = "warn"
large_stack_arrays = "warn"
large_stack_frames = "warn"
large_types_passed_by_value = "warn"
let_underscore_untyped = "allow"
let_unit_value = "warn"
linkedlist = "warn"
lossy_float_literal = "warn"
macro_use_imports = "warn"
manual_assert = "warn"
manual_clamp = "warn"
manual_instant_elapsed = "warn"
manual_let_else = "warn"
manual_ok_or = "warn"
manual_range_contains = "allow"
manual_string_new = "warn"
map_err_ignore = "warn"
map_flatten = "warn"
map_unwrap_or = "warn"
match_bool = "warn"
match_on_vec_items = "warn"
match_same_arms = "warn"
match_wild_err_arm = "warn"
match_wildcard_for_single_variants = "warn"
mem_forget = "warn"
mismatched_target_os = "warn"
mismatching_type_param_order = "warn"
missing_assert_message = "allow"
missing_enforced_import_renames = "warn"
missing_errors_doc = "warn"
missing_safety_doc = "warn"
mut_mut = "warn"
mutex_integer = "warn"
needless_borrow = "warn"
needless_continue = "warn"
needless_for_each = "warn"
needless_pass_by_ref_mut = "warn"
needless_pass_by_value = "warn"
negative_feature_names = "warn"
nonstandard_macro_braces = "warn"
option_option = "warn"
path_buf_push_overwrite = "warn"
print_stderr = "warn"
ptr_as_ptr = "warn"
ptr_cast_constness = "warn"
pub_without_shorthand = "warn"
rc_mutex = "warn"
readonly_write_lock = "warn"
redundant_type_annotations = "warn"
ref_option_ref = "warn"
ref_patterns = "warn"
rest_pat_in_fully_bound_structs = "warn"
same_functions_in_if_condition = "warn"
self_named_module_files = "allow"
semicolon_if_nothing_returned = "warn"
should_panic_without_expect = "allow"
significant_drop_tightening = "allow"
single_match_else = "warn"
str_to_string = "warn"
string_add = "warn"
string_add_assign = "warn"
string_lit_as_bytes = "warn"
string_lit_chars_any = "warn"
string_to_string = "warn"
suspicious_command_arg_space = "warn"
suspicious_xor_used_as_pow = "warn"
todo = "warn"
too_many_lines = "allow"
trailing_empty_array = "warn"
trait_duplication_in_bounds = "warn"
tuple_array_conversions = "warn"
unchecked_duration_subtraction = "warn"
undocumented_unsafe_blocks = "warn"
unimplemented = "warn"
uninhabited_references = "warn"
uninlined_format_args = "warn"
unnecessary_box_returns = "warn"
unnecessary_safety_doc = "warn"
unnecessary_struct_initialization = "warn"
unnecessary_wraps = "warn"
unnested_or_patterns = "warn"
unused_peekable = "warn"
unused_rounding = "warn"
unused_self = "warn"
unwrap_used = "allow"
use_self = "warn"
useless_transmute = "warn"
verbose_file_reads = "warn"
wildcard_dependencies = "warn"
wildcard_imports = "warn"
zero_sized_map_values = "warn"
[lints.rust]
elided_lifetimes_in_paths = "warn"
future_incompatible = "warn"
nonstandard_style = "warn"
rust_2018_idioms = "warn"
rust_2021_prelude_collisions = "warn"
semicolon_in_expressions_from_macros = "warn"
trivial_casts = "allow"
trivial_numeric_casts = "warn"
unsafe_code = "deny"
unsafe_op_in_unsafe_fn = "warn"
unused_extern_crates = "warn"
unused_import_braces = "warn"
unused_lifetimes = "warn"
unused_qualifications = "allow"
[lints.rustdoc]
all = "warn"
broken_intra_doc_links = "warn"
missing_crate_level_docs = "warn"
[package]
authors = ["Emil Ernerfeldt <emil.ernerfeldt@gmail.com>"]
categories = ["gui", "game-development"]
description = "egui framework - write GUI apps that compiles to web and/or natively"
edition = "2021"
homepage = "https://github.com/emilk/egui/tree/master/crates/eframe"
include = ["../LICENSE-APACHE", "../LICENSE-MIT", "**/*.rs", "Cargo.toml", "data/icon.png"]
keywords = ["egui", "gui", "gamedev"]
license = "MIT OR Apache-2.0"
name = "eframe"
readme = "README.md"
repository = "https://github.com/emilk/egui/tree/master/crates/eframe"
rust-version = "1.76"
version = "0.29.1"
[package.metadata.docs.rs]
all-features = true
rustdoc-args = ["--generate-link-to-definition"]
targets = ["x86_64-unknown-linux-gnu", "wasm32-unknown-unknown"]
[target.'cfg(any(target_os = "macos"))'.dependencies.objc2]
version = "0.5.1"
[target.'cfg(any(target_os = "macos"))'.dependencies.objc2-app-kit]
features = ["NSApplication", "NSImage", "NSMenu", "NSMenuItem", "NSResponder"]
version = "0.2.0"
[target.'cfg(any(target_os = "macos"))'.dependencies.objc2-foundation]
features = ["block2", "NSData", "NSString"]
version = "0.2.0"
[target.'cfg(any(target_os = "windows"))'.dependencies.winapi]
features = ["winuser"]
version = "0.3.9"
[target.'cfg(any(target_os = "windows"))'.dependencies.windows-sys]
features = ["Win32_Foundation", "Win32_UI_Shell", "Win32_System_Com"]
version = "0.52"
[target.'cfg(not(target_arch = "wasm32"))'.dependencies.egui-wgpu]
default-features = false
features = ["winit"]
optional = true
version = "0.29.1"
[target.'cfg(not(target_arch = "wasm32"))'.dependencies.egui-winit]
default-features = false
features = ["clipboard", "links"]
version = "0.29.1"
[target.'cfg(not(target_arch = "wasm32"))'.dependencies.glutin]
optional = true
version = "0.32.0"
[target.'cfg(not(target_arch = "wasm32"))'.dependencies.glutin-winit]
optional = true
version = "0.5.0"
[target.'cfg(not(target_arch = "wasm32"))'.dependencies.home]
optional = true
version = "0.5.9"
[target.'cfg(not(target_arch = "wasm32"))'.dependencies.image]
default-features = false
features = ["png"]
version = "0.25"
[target.'cfg(not(target_arch = "wasm32"))'.dependencies.pollster]
optional = true
version = "0.3"
[target.'cfg(not(target_arch = "wasm32"))'.dependencies.puffin]
optional = true
version = "0.19"
[target.'cfg(not(target_arch = "wasm32"))'.dependencies.wgpu]
default-features = false
features = ["metal", "webgpu"]
optional = true
version = "22.1.0"
[target.'cfg(not(target_arch = "wasm32"))'.dependencies.winit]
default-features = false
features = ["rwh_06"]
version = "0.30.5"
[target.'cfg(not(target_arch = "wasm32"))'.dev-dependencies.directories]
version = "5"
[target.'cfg(target_arch = "wasm32")'.dependencies.bytemuck]
version = "1.7.2"
[target.'cfg(target_arch = "wasm32")'.dependencies.egui-wgpu]
default-features = false
optional = true
version = "0.29.1"
[target.'cfg(target_arch = "wasm32")'.dependencies.js-sys]
version = "0.3"
[target.'cfg(target_arch = "wasm32")'.dependencies.percent-encoding]
version = "2.1"
[target.'cfg(target_arch = "wasm32")'.dependencies.wasm-bindgen]
version = "0.2"
[target.'cfg(target_arch = "wasm32")'.dependencies.wasm-bindgen-futures]
version = "0.4"
[target.'cfg(target_arch = "wasm32")'.dependencies.web-sys]
features = ["BinaryType", "Blob", "Clipboard", "ClipboardEvent", "CompositionEvent", "console", "CssStyleDeclaration", "DataTransfer", "DataTransferItem", "DataTransferItemList", "Document", "DomRect", "DragEvent", "Element", "Event", "EventListener", "EventTarget", "ExtSRgb", "File", "FileList", "FocusEvent", "HtmlCanvasElement", "HtmlElement", "HtmlInputElement", "InputEvent", "KeyboardEvent", "Location", "MediaQueryList", "MediaQueryListEvent", "MouseEvent", "Navigator", "Node", "NodeList", "Performance", "ResizeObserver", "ResizeObserverBoxOptions", "ResizeObserverEntry", "ResizeObserverOptions", "ResizeObserverSize", "Storage", "Touch", "TouchEvent", "PointerEvent", "TouchList", "WebGl2RenderingContext", "WebglDebugRendererInfo", "WebGlRenderingContext", "WheelEvent", "Window"]
version = "0.3.70"
[target.'cfg(target_arch = "wasm32")'.dependencies.wgpu]
default-features = false
features = ["webgpu"]
optional = true
version = "22.1.0"