#ambient #run-time #guest #game-engine #interface #native #bridge

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

#670 in Game dev

Download history 6/week @ 2024-01-01 34/week @ 2024-01-08 36/week @ 2024-01-15 8/week @ 2024-01-22 16/week @ 2024-01-29 35/week @ 2024-02-05 38/week @ 2024-02-12 54/week @ 2024-02-19 71/week @ 2024-02-26 50/week @ 2024-03-04 63/week @ 2024-03-11 74/week @ 2024-03-18 104/week @ 2024-03-25 109/week @ 2024-04-01 47/week @ 2024-04-08 55/week @ 2024-04-15

331 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–50MB
~782K SLoC