#ambient #run-time #guest #game-engine #bridge #api #multiplayer

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

#2009 in Game dev

Download history 14/week @ 2024-10-23 14/week @ 2024-10-30 14/week @ 2024-11-06 4/week @ 2024-11-13 33/week @ 2024-11-20 30/week @ 2024-11-27 54/week @ 2024-12-04 87/week @ 2024-12-11 24/week @ 2024-12-18 1/week @ 2025-01-01 10/week @ 2025-01-08 47/week @ 2025-01-15 6/week @ 2025-01-29 19/week @ 2025-02-05

72 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

~4–46MB
~769K SLoC