#game-engine #run-time #bridge #native #host-guest #ambient-api

ambient_guest_bridge

Crate for the Ambient runtime that allows code to target either native host code or the API exposed to guest code

16 releases

0.3.1 Oct 25, 2023
0.3.1-rc.1 Oct 24, 2023
0.3.0-rc.2 Sep 29, 2023
0.2.1 May 6, 2023

#1323 in Game dev

Download history 7/week @ 2025-08-09 21/week @ 2025-08-16 81/week @ 2025-08-23 103/week @ 2025-08-30 79/week @ 2025-09-06 95/week @ 2025-09-13 61/week @ 2025-09-20 67/week @ 2025-09-27 60/week @ 2025-10-04 47/week @ 2025-10-11 83/week @ 2025-10-18 55/week @ 2025-10-25 44/week @ 2025-11-01 36/week @ 2025-11-08 33/week @ 2025-11-15

173 downloads per month
Used in 20 crates (2 directly)

MIT/Apache

2.5MB
11K SLoC

Ambient guest bridge

This crate makes it possible to write code that can be used either internally in the Ambient runtime, or in a guest crate using ambient_api.

It does this by abstracting over both APIs and providing a common interface that can be targeted by downstream code to allow running that code in either context.

Dependencies

~3–50MB
~776K SLoC