immediate_stats 0.5.0

Game stats that reset every frame, inspired by immediate mode GUI.
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 = "immediate_stats"
version = "0.5.0"
authors = ["AlephCubed"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Game stats that reset every frame, inspired by immediate mode GUI."
readme = "README.md"
keywords = [
    "game",
    "gamedev",
    "bevy",
    "stats",
    "proc-macro",
]
categories = [
    "game-development",
    "data-structures",
]
license = "MIT OR Apache-2.0"
repository = "https://github.com/AlephCubed/immediate_stats"

[package.metadata.docs.rs]
all-features = true

[features]
bevy = [
    "dep:bevy_ecs",
    "dep:bevy_app",
    "dep:bevy_reflect",
    "immediate_stats_macros/bevy",
]
bevy_auto_plugin = [
    "bevy",
    "dep:bevy_auto_plugin",
]

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

[[example]]
name = "simple_bevy"
path = "examples/simple_bevy.rs"
required-features = ["bevy"]

[[example]]
name = "simple_bevy_auto_plugin"
path = "examples/simple_bevy_auto_plugin.rs"
required-features = ["bevy_auto_plugin"]

[[example]]
name = "simple_main_loop"
path = "examples/simple_main_loop.rs"

[[test]]
name = "bevy"
path = "tests/bevy.rs"

[[test]]
name = "bevy_auto_plugin"
path = "tests/bevy_auto_plugin.rs"

[[test]]
name = "derive"
path = "tests/derive.rs"

[[test]]
name = "modifier"
path = "tests/modifier.rs"

[[test]]
name = "stat"
path = "tests/stat.rs"

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

[dependencies.bevy_auto_plugin]
version = "0.10"
optional = true

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

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

[dependencies.immediate_stats_macros]
version = "0.5.0"
default-features = false

[dev-dependencies.bevy]
version = "0.18"
default-features = false

[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)"]