# 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 = "2021" name = "bevy_winit" version = "0.15.0-rc.3" build = false autobins = false autoexamples = false autotests = false autobenches = false description = "A winit window and input backend for Bevy Engine" homepage = "https://bevyengine.org" readme = "README.md" keywords = ["bevy"] license = "MIT OR Apache-2.0" repository = "https://github.com/bevyengine/bevy" [package.metadata.docs.rs] all-features = true rustdoc-args = [ "-Zunstable-options", "--generate-link-to-definition", ] [lib] name = "bevy_winit" path = "src/lib.rs" [dependencies.accesskit_winit] version = "0.22" features = ["rwh_06"] default-features = false [dependencies.approx] version = "0.5" default-features = false [dependencies.bevy_a11y] version = "0.15.0-rc.3" [dependencies.bevy_app] version = "0.15.0-rc.3" [dependencies.bevy_asset] version = "0.15.0-rc.3" optional = true [dependencies.bevy_derive] version = "0.15.0-rc.3" [dependencies.bevy_ecs] version = "0.15.0-rc.3" [dependencies.bevy_hierarchy] version = "0.15.0-rc.3" [dependencies.bevy_image] version = "0.15.0-rc.3" optional = true [dependencies.bevy_input] version = "0.15.0-rc.3" [dependencies.bevy_log] version = "0.15.0-rc.3" [dependencies.bevy_math] version = "0.15.0-rc.3" [dependencies.bevy_reflect] version = "0.15.0-rc.3" [dependencies.bevy_tasks] version = "0.15.0-rc.3" [dependencies.bevy_utils] version = "0.15.0-rc.3" [dependencies.bevy_window] version = "0.15.0-rc.3" [dependencies.bytemuck] version = "1.5" optional = true [dependencies.cfg-if] version = "1.0" [dependencies.raw-window-handle] version = "0.6" [dependencies.serde] version = "1.0" features = ["derive"] optional = true [dependencies.wgpu-types] version = "23" optional = true [dependencies.winit] version = "0.30" features = ["rwh_06"] default-features = false [features] accesskit_unix = [ "accesskit_winit/accesskit_unix", "accesskit_winit/async-io", ] android-game-activity = ["winit/android-game-activity"] android-native-activity = ["winit/android-native-activity"] custom_cursor = [ "bevy_image", "bevy_asset", "bytemuck", "wgpu-types", ] serialize = [ "serde", "bevy_input/serialize", "bevy_window/serialize", ] trace = [] wayland = [ "winit/wayland", "winit/wayland-csd-adwaita", ] x11 = ["winit/x11"] [target.'cfg(target_arch = "wasm32")'.dependencies.crossbeam-channel] version = "0.5" [target.'cfg(target_arch = "wasm32")'.dependencies.wasm-bindgen] version = "0.2" [target.'cfg(target_arch = "wasm32")'.dependencies.web-sys] version = "0.3" [lints.clippy] alloc_instead_of_core = "warn" doc_markdown = "warn" manual_let_else = "warn" match_same_arms = "warn" ptr_as_ptr = "warn" ptr_cast_constness = "warn" redundant_closure_for_method_calls = "warn" redundant_else = "warn" ref_as_ptr = "warn" semicolon_if_nothing_returned = "warn" std_instead_of_alloc = "warn" std_instead_of_core = "warn" too_long_first_doc_paragraph = "allow" type_complexity = "allow" undocumented_unsafe_blocks = "warn" unwrap_or_default = "warn" [lints.rust] missing_docs = "warn" unsafe_code = "deny" unsafe_op_in_unsafe_fn = "warn" unused_qualifications = "warn" [lints.rust.unexpected_cfgs] level = "warn" priority = 0 check-cfg = ["cfg(docsrs_dep)"]