Cargo Features

Gridbugs has no features set by default.

[dependencies]
gridbugs = { version = "0.10.0", features = ["coord_2d_serialize", "grid_2d_serialize", "line_2d_serialize", "direction_serialize", "rgb_int_serialize", "entity_table_serialize", "entity_table_realtime_serialize", "spatial_table_serialize", "shadowcast_serialize", "visible_area_detection_serialize", "perlin2_serialize", "grid_search_cardinal_serialize", "chargrid_serialize", "chargrid_wgpu_serialize", "chargrid_ggez_serialize", "chargrid_sdl2_serialize", "chargrid_ansi_terminal_serialize", "chargrid_web_serialize", "chargrid_gamepad", "chargrid_wgpu_gamepad", "chargrid_ggez_gamepad", "chargrid_sdl2_gamepad", "chargrid_ansi_terminal_gamepad", "chargrid_web_gamepad", "direction_rand", "rgb_int_rand", "backend", "backend_serialize", "storage", "storage_backend_file", "storage_backend_web", "storage_format_json", "storage_format_bincode", "storage_format_yaml", "storage_format_toml", "storage_compress", "audio", "audio_backend_native", "audio_backend_web", "audio_format_native_flac", "audio_format_native_vorbis", "audio_format_native_wav", "audio_format_native_mp3", "audio_backend_native_force_dedicated_audio_thread"] }
coord_2d_serialize backend_serialize?

Enables serialize of coord_2d

grid_2d_serialize backend_serialize?

Enables serialize of grid_2d

line_2d_serialize backend_serialize?

Enables serialize of line_2d

direction_serialize backend_serialize?

Enables serialize of direction

rgb_int_serialize backend_serialize?

Enables serialize of rgb_int

entity_table_serialize backend_serialize?

Enables serialize of entity_table

entity_table_realtime_serialize backend_serialize?

Enables serialize of entity_table_realtime

spatial_table_serialize backend_serialize?

Enables serialize of spatial_table

shadowcast_serialize backend_serialize?

Enables serialize of shadowcast

visible_area_detection_serialize backend_serialize?

Enables serialize of visible_area_detection ^0.2

perlin2_serialize

Enables serialize of perlin2

grid_search_cardinal_serialize backend_serialize?

Enables serialize of grid_search_cardinal

chargrid_serialize

Enables serialize of chargrid ^0.10

chargrid_wgpu_serialize

Enables serialize of chargrid_wgpu ^0.3

chargrid_ggez_serialize

Enables serialize of chargrid_ggez ^0.3

chargrid_sdl2_serialize

Enables serialize of chargrid_sdl2 ^0.2

chargrid_ansi_terminal_serialize

Enables serialize of chargrid_ansi_terminal ^0.4

chargrid_web_serialize

Enables serialize of chargrid_web ^0.4

chargrid_gamepad

Enables gamepad of chargrid ^0.10

chargrid_wgpu_gamepad

Enables gamepad of chargrid_wgpu ^0.3

chargrid_ggez_gamepad

Enables gamepad of chargrid_ggez ^0.3

chargrid_sdl2_gamepad

Enables gamepad of chargrid_sdl2 ^0.2

chargrid_ansi_terminal_gamepad

Enables gamepad of chargrid_ansi_terminal ^0.4

chargrid_web_gamepad

Enables gamepad of chargrid_web ^0.4

direction_rand

Enables rand of direction

rgb_int_rand

Enables rand of rgb_int

backend = coord_2d, direction, entity_table, entity_table_realtime, grid_2d, grid_search_cardinal, line_2d, rgb_int, shadowcast, spatial_table, visible_area_detection
backend_serialize = coord_2d_serialize, direction_serialize, entity_table_realtime_serialize, entity_table_serialize, grid_2d_serialize, grid_search_cardinal_serialize, line_2d_serialize, rgb_int_serialize, shadowcast_serialize, spatial_table_serialize, visible_area_detection_serialize
storage = general_storage_static
storage_backend_file

Enables file of general_storage_static

storage_backend_web

Enables web of general_storage_static

storage_format_json

Enables json of general_storage_static

storage_format_bincode

Enables bincode of general_storage_static

storage_format_yaml

Enables yaml of general_storage_static

storage_format_toml

Enables toml of general_storage_static

storage_compress

Enables compress of general_storage_static

audio = general_audio_static
audio_backend_native

Enables native of general_audio_static

audio_backend_web

Enables web of general_audio_static

audio_format_native_flac

Enables native_flac of general_audio_static

audio_format_native_vorbis

Enables native_vorbis of general_audio_static

audio_format_native_wav

Enables native_wav of general_audio_static

audio_format_native_mp3

Enables native_mp3 of general_audio_static

audio_backend_native_force_dedicated_audio_thread

Enables native_force_dedicated_audio_thread of general_audio_static

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.

coord_2d backend? coord_2d_serialize?
grid_2d backend? grid_2d_serialize?
line_2d backend? line_2d_serialize?
direction backend? direction_rand? direction_serialize?
rgb_int backend? rgb_int_rand? rgb_int_serialize?
entity_table backend? entity_table_serialize?
entity_table_realtime backend? entity_table_realtime_serialize?
spatial_table backend? spatial_table_serialize?
shadowcast backend? shadowcast_serialize?
visible_area_detection backend? visible_area_detection_serialize?

Enables visible_area_detection ^0.2

grid_search_cardinal backend? grid_search_cardinal_serialize?
chargrid chargrid_gamepad? chargrid_serialize?

Enables chargrid ^0.10

chargrid_wgpu chargrid_wgpu_gamepad? chargrid_wgpu_serialize?

Enables chargrid_wgpu ^0.3

chargrid_ggez chargrid_ggez_gamepad? chargrid_ggez_serialize?

Enables chargrid_ggez ^0.3

chargrid_sdl2 chargrid_sdl2_gamepad? chargrid_sdl2_serialize?

Enables chargrid_sdl2 ^0.2

chargrid_ansi_terminal chargrid_ansi_terminal_gamepad? chargrid_ansi_terminal_serialize?

Enables chargrid_ansi_terminal ^0.4

chargrid_web chargrid_web_gamepad? chargrid_web_serialize?

Enables chargrid_web ^0.4

general_storage_static storage? storage_backend_file? storage_backend_web? storage_compress? storage_format_bincode? storage_format_json? storage_format_toml? storage_format_yaml?

Affects gridbugs::storage

general_audio_static audio? audio_backend_native? audio_backend…audio_thread? audio_backend_web? audio_format_native_flac? audio_format_native_mp3? audio_format_native_vorbis? audio_format_native_wav?

Affects gridbugs::audio

perlin2 perlin2_serialize?