@@ -3,22 +3,22 @@ title: "Cargo Features Overview"
33document_id : " features-2025-11-17"
44status : " living"
55created : " 2025-11-17T23:59:00Z"
6- last_updated : " 2026-03-14T22:54:24Z "
7- version : " 0.1.17 "
6+ last_updated : " 2026-03-25T16:39:52Z "
7+ version : " 0.1.18 "
88engine_workspace_version : " 2023.1.30"
99wgpu_version : " 26.0.1"
1010shader_backend_default : " naga"
1111winit_version : " 0.29.10"
12- repo_commit : " 23dc1cbe0b87e772e92071ad170dfb70ced36f88 "
12+ repo_commit : " f3c56aaa0985993cc7e751865913e7a2ef27040e "
1313owners : ["lambda-sh"]
1414reviewers : ["engine", "rendering"]
1515tags : ["guide", "features", "validation", "cargo", "audio", "physics"]
1616---
1717
1818## Overview
1919This document enumerates the primary Cargo features exposed by the workspace
20- relevant to rendering, validation, and audio behavior. It defines defaults,
21- relationships, and expected behavior in debug and release builds.
20+ relevant to rendering, validation, audio, and physics behavior. It defines
21+ defaults, relationships, and expected behavior in debug and release builds.
2222
2323## Table of Contents
2424- [ Overview] ( #overview )
@@ -91,11 +91,16 @@ Physics
9191- ` physics-2d ` (umbrella, disabled by default): enables the 2D physics world
9292 APIs (for example, ` lambda::physics::PhysicsWorld2D ` ,
9393 ` lambda::physics::RigidBody2D ` , ` lambda::physics::Collider2D ` , and
94- ` lambda::physics::Collider2DBuilder ` ). This feature enables the platform
95- physics backend via ` lambda-rs-platform/physics-2d ` (currently backed by
96- ` rapier2d ` ). Expected runtime cost depends on simulation workload, collider
97- count, and contact density; no runtime cost is incurred unless a physics
98- world is constructed, populated, and stepped.
94+ ` lambda::physics::Collider2DBuilder ` ). This feature also covers collision
95+ event delivery (` PhysicsWorld2D::collision_events() ` ), per-collider
96+ collision filtering (` CollisionFilter ` ,
97+ ` Collider2DBuilder::with_collision_filter() ` ), and read-only spatial queries
98+ (` PhysicsWorld2D::{query_point,query_aabb,raycast} ` ). This feature enables
99+ the platform physics backend via ` lambda-rs-platform/physics-2d ` (currently
100+ backed by ` rapier2d ` ). Expected runtime cost depends on simulation workload,
101+ collider count, contact density, event buffering, and query frequency; no
102+ runtime cost is incurred unless a physics world is constructed, populated,
103+ stepped, or queried.
99104
100105Render validation
101106
@@ -175,6 +180,8 @@ Physics
175180 ` rapier2d ` directly via this crate.
176181
177182## Changelog
183+ - 0.1.18 (2026-03-25): Expand ` physics-2d ` documentation to include collision
184+ events, collision filtering, and spatial queries.
178185- 0.1.17 (2026-03-14): Update ` physics-2d ` coverage to include 2D colliders.
179186- 0.1.16 (2026-02-13): Document 2D rigid bodies under ` physics-2d ` and update
180187 metadata.
0 commit comments