Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -618,6 +618,9 @@ default_font = ["bevy_internal/default_font"]
# Allows for discovery of preloaded system fonts
system_font_discovery = ["bevy_internal/system_font_discovery"]

# Enables dictionary-based segmentation for complex scripts (CJK, Thai, Khmer, Lao, Myanmar), at the cost of a larger binary
complex_script_segmentation = ["bevy_internal/complex_script_segmentation"]

# Enable support for shaders in SPIR-V
shader_format_spirv = ["bevy_internal/shader_format_spirv"]

Expand Down
3 changes: 3 additions & 0 deletions crates/bevy_internal/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -302,6 +302,9 @@ default_font = ["bevy_text?/default_font"]
# Allows for discovery of preloaded system fonts
system_font_discovery = ["bevy_text?/system_font_discovery"]

# Enables dictionary-based segmentation for complex scripts (CJK, Thai, Khmer, Lao, Myanmar), at the cost of a larger binary
complex_script_segmentation = ["bevy_text?/complex_script_segmentation"]

# Enables downloading assets from HTTP sources
http = ["bevy_asset?/http"]

Expand Down
1 change: 1 addition & 0 deletions crates/bevy_text/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ keywords = ["bevy"]
default_font = []
system_font_discovery = ["parley/system"]
system_clipboard = ["bevy_clipboard/system_clipboard"]
complex_script_segmentation = ["parley/complex-scripts"]

[dependencies]
# bevy
Expand Down
1 change: 1 addition & 0 deletions docs/cargo_features.md
Original file line number Diff line number Diff line change
Expand Up @@ -116,6 +116,7 @@ This is the complete `bevy` cargo feature list, without "profiles" or "collectio
|bluenoise_texture|Include spatio-temporal blue noise KTX2 file used by generated environment maps, Solari and atmosphere|
|bmp|BMP image format support|
|clipboard_image|Enables image copy/paste via the system clipboard. Not supported on WASM.|
|complex_script_segmentation|Enables dictionary-based segmentation for complex scripts (CJK, Thai, Khmer, Lao, Myanmar), at the cost of a larger binary|
|compressed_image_saver|Texture compression asset processor (BCn for desktop, ASTC for mobile via env var)|
|compressed_image_saver_universal|Texture compression asset processor (cross-platform, transcodes to any GPU format at load time)|
|critical-section|`critical-section` provides the building blocks for synchronization primitives on all platforms, including `no_std`.|
Expand Down