Cargo Features

[dependencies]
obel_reflect = { version = "0.0.6", default-features = false, features = ["documentation", "functions", "obel", "debug", "debug_stack", "glam", "petgraph", "smallvec", "uuid", "wgpu-types", "std", "alloc", "platform_std", "critical-section", "portable-atomic"] }
default = debug, smallvec, std

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

documentation

Features
When enabled, allows documentation comments to be accessed via reflection

functions

Enables function reflection

obel = smallvec, smol_str

When enabled, provides Bevy-related reflection implementations

debug default = debug_stack

Debugging Features
Enables features useful for debugging reflection

debug_stack debug

When enabled, keeps track of the current serialization/deserialization context for better error messages

glam

Integrations Adds reflection support to glam types.

Enables glam

petgraph = std

Adds reflection support to petgraph types.

Enables petgraph ^0.6

smallvec default obel?

Adds reflection support to smallvec types.

Enables smallvec

uuid

Adds reflection support to uuid types.

Enables uuid

wgpu-types = std

Adds reflection support to wgpu-types types.

Enables wgpu-types ^23

std default petgraph? wgpu-types? = alloc, platform_std

Platform Compatibility Allows access to the std crate. Enabling this feature will prevent compilation on no_std targets, but provides access to certain additional features on supported platforms.

Enables std of downcast-rs, erased-serde, optional glam, serde, optional smol_str ^0.2.0, and optional uuid

alloc std
platform_std std

Enables std of obel_platform

obel_platform:

Platform Compatibility Allows access to the std crate. Enabling this feature will prevent compilation on no_std targets, but provides access to certain additional features on supported platforms.

critical-section

critical-section provides the building blocks for synchronization primitives on all platforms, including no_std.

Enables critical-section of obel_platform

portable-atomic

portable-atomic provides additional platform support for atomic types and operations, even on targets without native support.

Enables portable-atomic of obel_platform

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.

smol_str obel?

Enables smol_str ^0.2.0