Cargo Features

[dependencies]
jonmo = { version = "0.2.2", default-features = false, features = ["builder", "tracing", "time", "debug", "std", "critical-section", "web", "deployed_wasm_example", "document-features"] }
default = builder, std, time, tracing

These default features are set whenever jonmo is added without default-features = false somewhere in the dependency tree.

builder default

Enables access to jonmo's high-level entity builder, JonmoBuilder.

Affects jonmo::builder

tracing default = bevy_log

Enables access to signal ext .debug methods, which conveniently logs signal outputs at any step.

Affects signal::SignalExt.debug, signal_map::SignalMapExt.debug, signal_vec::SignalVecExt.debug

time default = bevy_time

Enables access to SignalExt::throttle, which delays subsequent outputs by some Duration.

Affects signal::SignalExt.throttle

debug dev

DebugUiPlugin which enables toggling bevy_dev_tools::ui_debug_overlay::DebugUiPlugin with the F1 key; requires a camera to be marked with the IsDefaultCamera component.

Enables bevy_ui_debug of bevy ^0.16

std default

Uses the Rust standard library.

Enables std of bevy_app ^0.16, bevy_ecs ^0.16, bevy_platform ^0.16, and optional bevy_time ^0.16

critical-section

Rely on critical-section for synchronization primitives.

Enables critical-section of bevy_app ^0.16, bevy_ecs ^0.16, bevy_platform ^0.16, and optional bevy_time ^0.16

web

Enables access to browser APIs in a web context.

Enables web of bevy_app ^0.16 and bevy_platform ^0.16

deployed_wasm_example

Features from optional dependencies

In crates that don't use the dep: syntax, optional dependencies automatically become Cargo features. These features may have been created by mistake, and this functionality may be removed in the future.

bevy_log tracing

Enables bevy_log ^0.16

bevy_time time

Enables bevy_time ^0.16

document-features implicit feature

Enables document-features

document-features:

Extract documentation for the feature flags from comments in Cargo.toml