340 lines
8.2 KiB
TOML
340 lines
8.2 KiB
TOML
# THIS FILE IS AUTOMATICALLY GENERATED BY CARGO
|
|
#
|
|
# When uploading crates to the registry Cargo will automatically
|
|
# "normalize" Cargo.toml files for maximal compatibility
|
|
# with all versions of Cargo and also rewrite `path` dependencies
|
|
# to registry (e.g., crates.io) dependencies.
|
|
#
|
|
# If you are reading this file be aware that the original Cargo.toml
|
|
# will likely look very different (and much more reasonable).
|
|
# See Cargo.toml.orig for the original contents.
|
|
|
|
[package]
|
|
edition = "2024"
|
|
rust-version = "1.95"
|
|
name = "egui-wgpu"
|
|
version = "0.36.2"
|
|
authors = [
|
|
"Nils Hasenbanck <[email protected]>",
|
|
"embotech <[email protected]>",
|
|
"Emil Ernerfeldt <[email protected]>",
|
|
]
|
|
build = false
|
|
include = [
|
|
"LICENSE-APACHE",
|
|
"LICENSE-MIT",
|
|
"**/*.rs",
|
|
"**/*.wgsl",
|
|
"Cargo.toml",
|
|
]
|
|
autolib = false
|
|
autobins = false
|
|
autoexamples = false
|
|
autotests = false
|
|
autobenches = false
|
|
description = "Bindings for using egui natively using the wgpu library"
|
|
homepage = "https://github.com/emilk/egui/tree/main/crates/egui-wgpu"
|
|
keywords = [
|
|
"wgpu",
|
|
"egui",
|
|
"gui",
|
|
"gamedev",
|
|
]
|
|
categories = [
|
|
"gui",
|
|
"game-development",
|
|
]
|
|
license = "MIT OR Apache-2.0"
|
|
repository = "https://github.com/emilk/egui/tree/main/crates/egui-wgpu"
|
|
resolver = "2"
|
|
|
|
[package.metadata.docs.rs]
|
|
all-features = true
|
|
rustdoc-args = ["--generate-link-to-definition"]
|
|
|
|
[features]
|
|
capture = ["dep:egui"]
|
|
default = [
|
|
"fragile-send-sync-non-atomic-wasm",
|
|
"macos-window-resize-jitter-fix",
|
|
"wgpu/default",
|
|
"wgpu/webgl",
|
|
]
|
|
fragile-send-sync-non-atomic-wasm = ["wgpu/fragile-send-sync-non-atomic-wasm"]
|
|
macos-window-resize-jitter-fix = ["wgpu/metal"]
|
|
wayland = ["winit?/wayland"]
|
|
winit = [
|
|
"dep:winit",
|
|
"winit/rwh_06",
|
|
"dep:egui",
|
|
"capture",
|
|
]
|
|
x11 = ["winit?/x11"]
|
|
|
|
[lib]
|
|
name = "egui_wgpu"
|
|
path = "src/lib.rs"
|
|
|
|
[dependencies.ahash]
|
|
version = "0.8.12"
|
|
features = [
|
|
"no-rng",
|
|
"std",
|
|
]
|
|
default-features = false
|
|
|
|
[dependencies.bytemuck]
|
|
version = "1.25"
|
|
|
|
[dependencies.document-features]
|
|
version = "0.2.12"
|
|
|
|
[dependencies.egui]
|
|
version = "0.36.2"
|
|
optional = true
|
|
default-features = false
|
|
|
|
[dependencies.epaint]
|
|
version = "0.36.2"
|
|
features = ["bytemuck"]
|
|
default-features = false
|
|
|
|
[dependencies.log]
|
|
version = "0.4.33"
|
|
features = ["std"]
|
|
|
|
[dependencies.profiling]
|
|
version = "1.0"
|
|
default-features = false
|
|
|
|
[dependencies.thiserror]
|
|
version = "2.0"
|
|
|
|
[dependencies.type-map]
|
|
version = "0.5.1"
|
|
|
|
[dependencies.web-time]
|
|
version = "1.1"
|
|
|
|
[dependencies.wgpu]
|
|
version = "30.0"
|
|
features = [
|
|
"std",
|
|
"wgsl",
|
|
]
|
|
default-features = false
|
|
|
|
[dependencies.winit]
|
|
version = "0.30.13"
|
|
optional = true
|
|
default-features = false
|
|
|
|
[lints.clippy]
|
|
allow_attributes = "warn"
|
|
as_ptr_cast_mut = "warn"
|
|
assigning_clones = "allow"
|
|
bool_to_int_with_if = "warn"
|
|
branches_sharing_code = "warn"
|
|
cast_possible_truncation = "allow"
|
|
cast_possible_wrap = "allow"
|
|
checked_conversions = "warn"
|
|
clear_with_drain = "warn"
|
|
clone_on_ref_ptr = "warn"
|
|
cloned_instead_of_copied = "warn"
|
|
coerce_container_to_any = "warn"
|
|
comparison_chain = "allow"
|
|
dbg_macro = "warn"
|
|
debug_assert_with_mut_call = "warn"
|
|
decimal_bitwise_operands = "warn"
|
|
default_union_representation = "warn"
|
|
derive_partial_eq_without_eq = "warn"
|
|
disallowed_script_idents = "warn"
|
|
doc_broken_link = "warn"
|
|
doc_comment_double_space_linebreaks = "warn"
|
|
doc_include_without_cfg = "warn"
|
|
doc_link_with_quotes = "warn"
|
|
doc_markdown = "warn"
|
|
duration_suboptimal_units = "warn"
|
|
elidable_lifetime_names = "warn"
|
|
empty_enum_variants_with_brackets = "warn"
|
|
empty_enums = "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"
|
|
format_push_string = "warn"
|
|
from_iter_instead_of_collect = "warn"
|
|
get_unwrap = "warn"
|
|
ignore_without_reason = "warn"
|
|
ignored_unit_patterns = "warn"
|
|
implicit_clone = "warn"
|
|
imprecise_flops = "warn"
|
|
inconsistent_struct_constructor = "warn"
|
|
index_refutable_slice = "warn"
|
|
inefficient_to_string = "warn"
|
|
infinite_loop = "warn"
|
|
into_iter_without_iter = "warn"
|
|
invalid_upcast_comparisons = "warn"
|
|
ip_constant = "warn"
|
|
iter_filter_is_ok = "warn"
|
|
iter_filter_is_some = "warn"
|
|
iter_not_returning_iterator = "warn"
|
|
iter_on_empty_collections = "warn"
|
|
iter_on_single_items = "warn"
|
|
iter_over_hash_type = "warn"
|
|
iter_without_into_iter = "warn"
|
|
large_digit_groups = "warn"
|
|
large_futures = "warn"
|
|
large_include_file = "warn"
|
|
large_stack_arrays = "warn"
|
|
large_stack_frames = "warn"
|
|
large_types_passed_by_value = "warn"
|
|
let_underscore_must_use = "allow"
|
|
let_underscore_untyped = "allow"
|
|
linkedlist = "warn"
|
|
literal_string_with_formatting_args = "warn"
|
|
lossy_float_literal = "warn"
|
|
macro_use_imports = "warn"
|
|
manual_assert = "warn"
|
|
manual_ilog2 = "warn"
|
|
manual_instant_elapsed = "warn"
|
|
manual_is_power_of_two = "warn"
|
|
manual_is_variant_and = "warn"
|
|
manual_let_else = "warn"
|
|
manual_midpoint = "warn"
|
|
manual_range_contains = "allow"
|
|
manual_string_new = "warn"
|
|
map_err_ignore = "warn"
|
|
map_unwrap_or = "allow"
|
|
match_bool = "warn"
|
|
match_same_arms = "warn"
|
|
match_wild_err_arm = "warn"
|
|
match_wildcard_for_single_variants = "warn"
|
|
mem_forget = "warn"
|
|
mismatching_type_param_order = "warn"
|
|
missing_assert_message = "warn"
|
|
missing_errors_doc = "warn"
|
|
missing_fields_in_debug = "warn"
|
|
mut_mut = "warn"
|
|
mutex_integer = "warn"
|
|
needless_continue = "warn"
|
|
needless_for_each = "warn"
|
|
needless_pass_by_ref_mut = "warn"
|
|
needless_pass_by_value = "warn"
|
|
needless_raw_string_hashes = "warn"
|
|
needless_type_cast = "warn"
|
|
negative_feature_names = "warn"
|
|
non_std_lazy_statics = "warn"
|
|
non_zero_suggestions = "warn"
|
|
nonstandard_macro_braces = "warn"
|
|
option_as_ref_cloned = "warn"
|
|
option_option = "warn"
|
|
or_fun_call = "warn"
|
|
path_buf_push_overwrite = "warn"
|
|
pathbuf_init_then_push = "warn"
|
|
precedence_bits = "warn"
|
|
print_stderr = "warn"
|
|
print_stdout = "warn"
|
|
ptr_as_ptr = "warn"
|
|
ptr_cast_constness = "warn"
|
|
pub_underscore_fields = "warn"
|
|
pub_without_shorthand = "warn"
|
|
rc_mutex = "warn"
|
|
redundant_type_annotations = "warn"
|
|
ref_as_ptr = "warn"
|
|
ref_option = "warn"
|
|
ref_option_ref = "warn"
|
|
ref_patterns = "warn"
|
|
rest_pat_in_fully_bound_structs = "warn"
|
|
return_and_then = "warn"
|
|
same_functions_in_if_condition = "warn"
|
|
same_length_and_capacity = "warn"
|
|
self_named_module_files = "allow"
|
|
self_only_used_in_recursion = "warn"
|
|
semicolon_if_nothing_returned = "warn"
|
|
set_contains_or_insert = "warn"
|
|
should_panic_without_expect = "allow"
|
|
significant_drop_tightening = "allow"
|
|
single_char_pattern = "warn"
|
|
single_match_else = "warn"
|
|
single_option_map = "warn"
|
|
std_instead_of_core = "warn"
|
|
str_split_at_newline = "warn"
|
|
str_to_string = "warn"
|
|
string_add = "warn"
|
|
string_add_assign = "warn"
|
|
string_lit_as_bytes = "warn"
|
|
string_lit_chars_any = "warn"
|
|
suspicious_xor_used_as_pow = "warn"
|
|
todo = "warn"
|
|
too_long_first_doc_paragraph = "warn"
|
|
too_many_lines = "allow"
|
|
trailing_empty_array = "warn"
|
|
trait_duplication_in_bounds = "warn"
|
|
transmute_ptr_to_ptr = "warn"
|
|
tuple_array_conversions = "warn"
|
|
unchecked_time_subtraction = "warn"
|
|
undocumented_unsafe_blocks = "warn"
|
|
unimplemented = "warn"
|
|
uninhabited_references = "warn"
|
|
uninlined_format_args = "warn"
|
|
unnecessary_box_returns = "warn"
|
|
unnecessary_debug_formatting = "warn"
|
|
unnecessary_literal_bound = "warn"
|
|
unnecessary_safety_comment = "warn"
|
|
unnecessary_safety_doc = "warn"
|
|
unnecessary_self_imports = "warn"
|
|
unnecessary_semicolon = "warn"
|
|
unnecessary_struct_initialization = "warn"
|
|
unnecessary_trailing_comma = "warn"
|
|
unnecessary_wraps = "warn"
|
|
unnested_or_patterns = "warn"
|
|
unused_async = "warn"
|
|
unused_peekable = "warn"
|
|
unused_rounding = "warn"
|
|
unused_self = "warn"
|
|
unused_trait_names = "warn"
|
|
unwrap_used = "warn"
|
|
use_self = "warn"
|
|
useless_let_if_seq = "warn"
|
|
verbose_file_reads = "warn"
|
|
wildcard_dependencies = "warn"
|
|
wildcard_imports = "allow"
|
|
zero_sized_map_values = "warn"
|
|
|
|
[lints.clippy.all]
|
|
level = "warn"
|
|
priority = -1
|
|
|
|
[lints.rust]
|
|
trivial_casts = "allow"
|
|
trivial_numeric_casts = "warn"
|
|
unsafe_code = "deny"
|
|
unused_import_braces = "warn"
|
|
unused_lifetimes = "warn"
|
|
unused_qualifications = "allow"
|
|
|
|
[lints.rust.future_incompatible]
|
|
level = "warn"
|
|
priority = -1
|
|
|
|
[lints.rust.nonstandard_style]
|
|
level = "warn"
|
|
priority = -1
|
|
|
|
[lints.rust.rust_2018_idioms]
|
|
level = "warn"
|
|
priority = -1
|
|
|
|
[lints.rustdoc]
|
|
all = "warn"
|