Introduces the voltex_net crate (no external dependencies) with a binary Packet protocol over UDP. Supports 6 variants (Connect, Accept, Disconnect, Ping, Pong, UserData) with a 4-byte header (type_id u8, payload_len u16 LE, reserved u8) and per-variant payload encoding. Includes 7 unit tests covering all roundtrips and invalid-type error handling. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
42 lines
1.2 KiB
TOML
42 lines
1.2 KiB
TOML
[workspace]
|
|
resolver = "2"
|
|
members = [
|
|
"crates/voltex_math",
|
|
"crates/voltex_platform",
|
|
"crates/voltex_renderer",
|
|
"crates/voltex_ecs",
|
|
"crates/voltex_asset",
|
|
"examples/triangle",
|
|
"examples/model_viewer",
|
|
"examples/many_cubes",
|
|
"examples/hierarchy_demo",
|
|
"examples/asset_demo",
|
|
"examples/pbr_demo",
|
|
"examples/multi_light_demo",
|
|
"examples/shadow_demo",
|
|
"examples/ibl_demo",
|
|
"examples/deferred_demo",
|
|
"crates/voltex_physics",
|
|
"crates/voltex_audio",
|
|
"examples/audio_demo",
|
|
"crates/voltex_ai",
|
|
"crates/voltex_net",
|
|
]
|
|
|
|
[workspace.dependencies]
|
|
voltex_math = { path = "crates/voltex_math" }
|
|
voltex_platform = { path = "crates/voltex_platform" }
|
|
voltex_renderer = { path = "crates/voltex_renderer" }
|
|
voltex_ecs = { path = "crates/voltex_ecs" }
|
|
voltex_asset = { path = "crates/voltex_asset" }
|
|
voltex_physics = { path = "crates/voltex_physics" }
|
|
voltex_audio = { path = "crates/voltex_audio" }
|
|
voltex_ai = { path = "crates/voltex_ai" }
|
|
voltex_net = { path = "crates/voltex_net" }
|
|
wgpu = "28.0"
|
|
winit = "0.30"
|
|
bytemuck = { version = "1", features = ["derive"] }
|
|
pollster = "0.4"
|
|
env_logger = "0.11"
|
|
log = "0.4"
|