mirror of
https://github.com/bevyengine/bevy
synced 2024-11-10 07:04:33 +00:00
882c86eee3
# Objective - Expose a feature for tracing with Tracy to profile memory (https://docs.rs/tracy-client/0.15.2/tracy_client/struct.ProfiledAllocator.html) - This is a separate feature than just tracing as it can have an additional cost <img width="1912" alt="Screenshot 2023-03-30 at 08 39 49" src="https://user-images.githubusercontent.com/8672791/228985566-dd62fff8-1cbf-4f59-8a10-80c796daba0c.png">
32 lines
1 KiB
TOML
32 lines
1 KiB
TOML
[package]
|
|
name = "bevy_log"
|
|
version = "0.11.0-dev"
|
|
edition = "2021"
|
|
description = "Provides logging for Bevy Engine"
|
|
homepage = "https://bevyengine.org"
|
|
repository = "https://github.com/bevyengine/bevy"
|
|
license = "MIT OR Apache-2.0"
|
|
keywords = ["bevy"]
|
|
|
|
[features]
|
|
trace = [ "tracing-error" ]
|
|
trace_tracy_memory = ["dep:tracy-client"]
|
|
|
|
[dependencies]
|
|
bevy_app = { path = "../bevy_app", version = "0.11.0-dev" }
|
|
bevy_utils = { path = "../bevy_utils", version = "0.11.0-dev" }
|
|
bevy_ecs = { path = "../bevy_ecs", version = "0.11.0-dev" }
|
|
|
|
tracing-subscriber = {version = "0.3.1", features = ["registry", "env-filter"]}
|
|
tracing-chrome = { version = "0.7.0", optional = true }
|
|
tracing-tracy = { version = "0.10.0", optional = true }
|
|
tracing-log = "0.1.2"
|
|
tracing-error = { version = "0.2.0", optional = true }
|
|
tracy-client = { version = "0.15", optional = true }
|
|
|
|
[target.'cfg(target_os = "android")'.dependencies]
|
|
android_log-sys = "0.2.0"
|
|
|
|
[target.'cfg(target_arch = "wasm32")'.dependencies]
|
|
console_error_panic_hook = "0.1.6"
|
|
tracing-wasm = "0.2.1"
|