bevy_app 0.19.1

Provides core App functionality for Bevy Engine
Documentation
# 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"
name = "bevy_app"
version = "0.19.1"
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Provides core App functionality for Bevy Engine"
homepage = "https://bevy.org"
readme = "README.md"
keywords = ["bevy"]
license = "MIT OR Apache-2.0"
repository = "https://github.com/bevyengine/bevy"

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

[features]
bevy_debug_stepping = []
bevy_reflect = [
    "dep:bevy_reflect",
    "bevy_ecs/bevy_reflect",
]
critical-section = [
    "bevy_ecs/critical-section",
    "bevy_platform/critical-section",
    "bevy_reflect?/critical-section",
]
default = [
    "std",
    "bevy_reflect",
    "bevy_ecs/default",
    "error_panic_hook",
]
error_panic_hook = []
hotpatching = [
    "bevy_ecs/hotpatching",
    "dep:dioxus-devtools",
    "dep:crossbeam-channel",
]
reflect_auto_register = [
    "bevy_reflect",
    "bevy_reflect/auto_register",
    "bevy_ecs/reflect_auto_register",
]
reflect_functions = [
    "bevy_reflect",
    "bevy_reflect/functions",
    "bevy_ecs/reflect_functions",
]
std = [
    "bevy_reflect?/std",
    "bevy_ecs/std",
    "dep:ctrlc",
    "downcast-rs/std",
    "bevy_platform/std",
]
trace = ["dep:tracing"]
web = [
    "bevy_platform/web",
    "bevy_reflect?/web",
    "dep:wasm-bindgen",
    "dep:web-sys",
    "dep:console_error_panic_hook",
]

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

[dependencies.bevy_derive]
version = "0.19.1"

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

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

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

[dependencies.bevy_tasks]
version = "0.19.1"
default-features = false

[dependencies.bevy_utils]
version = "0.19.1"
default-features = false

[dependencies.crossbeam-channel]
version = "0.5.0"
optional = true

[dependencies.dioxus-devtools]
version = "0.7.0-alpha.1"
optional = true

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

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

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

[dependencies.tracing]
version = "0.1"
optional = true
default-features = false

[dependencies.variadics_please]
version = "1.1"

[dev-dependencies.crossbeam-channel]
version = "0.5.0"

[target.'cfg(any(all(unix, not(target_os = "horizon")), windows))'.dependencies.ctrlc]
version = "3.4.4"
optional = true

[target.'cfg(target_arch = "wasm32")'.dependencies.console_error_panic_hook]
version = "0.1.6"
optional = true

[target.'cfg(target_arch = "wasm32")'.dependencies.wasm-bindgen]
version = "0.2"
optional = true

[target.'cfg(target_arch = "wasm32")'.dependencies.web-sys]
version = "0.3"
features = ["Window"]
optional = true

[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]
level = "warn"
priority = 0
check-cfg = ["cfg(docsrs_dep)"]