bevy_input 0.18.0

Provides input functionality for Bevy Engine
Documentation
[dependencies.bevy_app]
default-features = false
version = "0.18.0"

[dependencies.bevy_ecs]
default-features = false
version = "0.18.0"

[dependencies.bevy_math]
default-features = false
version = "0.18.0"

[dependencies.bevy_platform]
default-features = false
version = "0.18.0"

[dependencies.bevy_reflect]
default-features = false
features = ["glam"]
optional = true
version = "0.18.0"

[dependencies.derive_more]
default-features = false
features = ["from"]
version = "2"

[dependencies.log]
default-features = false
version = "0.4"

[dependencies.serde]
default-features = false
features = ["alloc", "derive"]
optional = true
version = "1"

[dependencies.smol_str]
default-features = false
optional = true
version = "0.2"

[dependencies.thiserror]
default-features = false
version = "2"

[features]
bevy_reflect = ["dep:bevy_reflect", "bevy_app/bevy_reflect", "bevy_ecs/bevy_reflect", "bevy_math/bevy_reflect"]
critical-section = ["bevy_app/critical-section", "bevy_ecs/critical-section", "bevy_reflect?/critical-section", "bevy_platform/critical-section"]
default = ["std", "bevy_reflect", "bevy_ecs/async_executor", "smol_str"]
gamepad = []
gestures = []
keyboard = []
libm = ["bevy_math/libm"]
mouse = []
serialize = ["serde", "smol_str?/serde", "bevy_ecs/serialize", "bevy_math/serialize", "bevy_platform/serialize"]
smol_str = ["dep:smol_str", "bevy_reflect/smol_str"]
std = ["bevy_app/std", "bevy_ecs/std", "bevy_math/std", "bevy_reflect/std", "bevy_platform/std"]
touch = []

[lib]
name = "bevy_input"
path = "src/lib.rs"

[lints.clippy]
alloc_instead_of_core = "warn"
allow_attributes = "warn"
allow_attributes_without_reason = "warn"
doc_markdown = "warn"
manual_let_else = "warn"
match_same_arms = "warn"
needless_lifetimes = "allow"
nonstandard_macro_braces = "warn"
print_stderr = "warn"
print_stdout = "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"
too_many_arguments = "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]
check-cfg = ["cfg(docsrs_dep)"]
level = "warn"
priority = 0

[package]
autobenches = false
autobins = false
autoexamples = false
autolib = false
autotests = false
build = false
description = "Provides input functionality for Bevy Engine"
edition = "2024"
homepage = "https://bevy.org"
keywords = ["bevy"]
license = "MIT OR Apache-2.0"
name = "bevy_input"
readme = "README.md"
repository = "https://github.com/bevyengine/bevy"
resolver = "2"
version = "0.18.0"

[package.metadata.docs.rs]
all-features = true
rustdoc-args = ["-Zunstable-options", "--generate-link-to-definition"]