@@ -9,44 +9,24 @@ license = "MIT OR Apache-2.0"
99keywords = [" bevy" ]
1010
1111[features ]
12- default = [" std" , " tracing" ]
13-
14- tracing = [" dep:tracing" , " dep:tracing-subscriber" , " dep:tracing-log" ]
15- trace = [" tracing" , " tracing-error" ]
16- trace_tracy_memory = [" tracing" , " dep:tracy-client" ]
17- tracing-chrome = [" tracing" , " dep:tracing-chrome" ]
18- tracing-error = [" tracing" , " dep:tracing-error" ]
19- tracing-tracy = [" tracing" , " dep:tracing-tracy" ]
20-
21- # Allows access to the `std` crate. Enabling this feature will prevent compilation
22- # on `no_std` targets, but provides access to certain additional features on
23- # supported platforms.
24- std = [" bevy_app/std" , " bevy_utils/std" , " bevy_ecs/std" ]
25-
26- # Enables use of browser APIs.
27- # Note this is currently only applicable on `wasm32` architectures.
28- web = [" bevy_app/web" , " dep:tracing-wasm" ]
12+ trace = [" tracing-error" ]
13+ trace_tracy_memory = [" dep:tracy-client" ]
2914
3015[dependencies ]
3116# bevy
32- bevy_app = { path = " ../bevy_app" , version = " 0.16.0-rc.4" , default-features = false }
33- bevy_utils = { path = " ../bevy_utils" , version = " 0.16.0-rc.4" , default-features = false , features = [
34- " alloc" ,
35- ] }
36- bevy_ecs = { path = " ../bevy_ecs" , version = " 0.16.0-rc.4" , default-features = false }
17+ bevy_app = { path = " ../bevy_app" , version = " 0.16.0-rc.4" }
18+ bevy_utils = { path = " ../bevy_utils" , version = " 0.16.0-rc.4" }
19+ bevy_ecs = { path = " ../bevy_ecs" , version = " 0.16.0-rc.4" }
3720
3821# other
39- log = { version = " 0.4" , default-features = false }
40- tracing-subscriber = { version = " 0.3.1" , optional = true , features = [
22+ tracing-subscriber = { version = " 0.3.1" , features = [
4123 " registry" ,
4224 " env-filter" ,
4325] }
4426tracing-chrome = { version = " 0.7.0" , optional = true }
45- tracing-log = { version = " 0.2.0" , optional = true }
27+ tracing-log = " 0.2.0"
4628tracing-error = { version = " 0.2.0" , optional = true }
47- tracing = { version = " 0.1" , default-features = false , optional = true , features = [
48- " std" ,
49- ] }
29+ tracing = { version = " 0.1" , default-features = false , features = [" std" ] }
5030
5131# Tracy dependency compatibility table:
5232# https://github.com/nagisa/rust_tracy_client
@@ -57,7 +37,11 @@ tracy-client = { version = "0.18.0", optional = true }
5737android_log-sys = " 0.3.0"
5838
5939[target .'cfg(target_arch = "wasm32")' .dependencies ]
60- tracing-wasm = { version = " 0.2.1" , optional = true }
40+ tracing-wasm = " 0.2.1"
41+ # TODO: Assuming all wasm builds are for the browser. Require `no_std` support to break assumption.
42+ bevy_app = { path = " ../bevy_app" , version = " 0.16.0-dev" , default-features = false , features = [
43+ " web" ,
44+ ] }
6145
6246[target .'cfg(target_os = "ios")' .dependencies ]
6347tracing-oslog = " 0.2"
0 commit comments