Book a Demo!
CoCalc Logo Icon
StoreFeaturesDocsShareSupportNewsAboutPoliciesSign UpSign In
bevyengine
GitHub Repository: bevyengine/bevy
Path: blob/main/crates/bevy_log/Cargo.toml
6592 views
1
[package]
2
name = "bevy_log"
3
version = "0.17.0-dev"
4
edition = "2024"
5
description = "Provides logging for Bevy Engine"
6
homepage = "https://bevy.org"
7
repository = "https://github.com/bevyengine/bevy"
8
license = "MIT OR Apache-2.0"
9
keywords = ["bevy"]
10
11
[features]
12
trace = ["tracing-error"]
13
trace_tracy_memory = ["dep:tracy-client"]
14
15
[dependencies]
16
# bevy
17
bevy_app = { path = "../bevy_app", version = "0.17.0-dev" }
18
bevy_utils = { path = "../bevy_utils", version = "0.17.0-dev" }
19
bevy_platform = { path = "../bevy_platform", version = "0.17.0-dev" }
20
bevy_ecs = { path = "../bevy_ecs", version = "0.17.0-dev" }
21
22
# other
23
tracing-subscriber = { version = "0.3.20", features = [
24
"registry",
25
"env-filter",
26
] }
27
tracing-chrome = { version = "0.7.0", optional = true }
28
tracing-log = "0.2.0"
29
tracing-error = { version = "0.2.0", optional = true }
30
tracing = { version = "0.1", default-features = false, features = ["std"] }
31
32
# Tracy dependency compatibility table:
33
# https://github.com/nagisa/rust_tracy_client
34
tracing-tracy = { version = "0.11.4", optional = true }
35
tracy-client = { version = "0.18.0", optional = true }
36
37
[target.'cfg(target_os = "android")'.dependencies]
38
android_log-sys = "0.3.0"
39
40
[target.'cfg(target_arch = "wasm32")'.dependencies]
41
tracing-wasm = "0.2.1"
42
# TODO: Assuming all wasm builds are for the browser. Require `no_std` support to break assumption.
43
bevy_app = { path = "../bevy_app", version = "0.17.0-dev", default-features = false, features = [
44
"web",
45
] }
46
47
[target.'cfg(target_os = "ios")'.dependencies]
48
tracing-oslog = "0.3"
49
50
[lints]
51
workspace = true
52
53
[package.metadata.docs.rs]
54
rustdoc-args = ["-Zunstable-options", "--generate-link-to-definition"]
55
all-features = true
56
57