How thomas-mewily/hexga works
HexGa is an experimental, trait-oriented Rust workspace of reusable crates rather than a single application. Its user workflow is crate selection and composition: Rust developers import a crate or prelude, then use capabilities such as math, bit operations, collections, encoding, assets, or graphics. The tree shows distinct domain libraries and an experimental engine stack, but sampled evidence does not establish most runtime call paths between them. Edges below are limited to module references visible in the source index or excerpts; unsampled capabilities are represented without guessed connections.
Main entry points: lib.rs Core traits · asset.rs Asset management · application.rs Application runner · collection.rs Collections
Components 24
Core utilities
- HexGa facade
crates/hexga/src/lib.rs - Core traits
crates/hexga_core/src/lib.rs - Allocation
crates/hexga_core/src/allocation/alloc.rs - Collections
crates/hexga_core/src/collections/collection.rs - Iterator utilities
crates/hexga_core/src/iter/try_from_iter.rs - Formatting
crates/hexga_core/src/format.rs - Type wrappers
crates/hexga_core/src/wrapper.rs - Token mapping macros
crates/hexga_map_on/src/map_on_common.rs
Data and math
- Bit operations
crates/hexga_bit/src/bit_pattern.rs - Bit derive macros
crates/hexga_bit_derive/src/traits.rs - Bitflags
crates/hexga_bitflags/src/lib.rs - Array utilities
crates/hexga_array/src/array.rs - Generational collections
crates/hexga_generational/src/gen_seq.rs - Math and geometry
crates/hexga_math/src/geometry - Number types
crates/hexga_number/src/arithmetic/floating.rs
Experimental services
- Encoding and serialization
experimental/hexga_encoding/src - File and path I/O
experimental/hexga_io/src - Asset management
experimental/hexga_asset/src/asset.rs
Engine and graphics
- Event loop and input
experimental/hexga_event_loop/src/event_loop/event_handler.rs - Application runner
experimental/hexga_engine/src/app/application.rs - Graphics and meshes
experimental/hexga_graphics/src - Image and color
experimental/hexga_image/src/image/img.rs - GPU backend
experimental/hexga_wgpu/src/context.rs
Other components
- Rust developer
Connections 13
- Rust developer → HexGa facade: imports crate
README.md - Core traits → Allocation: exports module
crates/hexga_core/src/lib.rs - Core traits → Collections: exports module
crates/hexga_core/src/lib.rs - Core traits → Iterator utilities: exports module
crates/hexga_core/src/lib.rs - Core traits → Formatting: exports module
crates/hexga_core/src/lib.rs - Collections → Iterator utilities: uses iteration
- Bit derive macros → Bit operations: generates trait impls
- Token mapping macros → Number types: maps number types
- Application runner → Event loop and input: runs events
- Application runner → Graphics and meshes: uses rendering
- Graphics and meshes → GPU backend: uses GPU backend
- Asset management → File and path I/O: uses file I/O
- Asset management → Encoding and serialization: uses encoding