#game-engine

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

#180 in #game-engine

Download history 43/week @ 2024-06-13 62/week @ 2024-06-20 27/week @ 2024-06-27 12/week @ 2024-07-04 40/week @ 2024-07-11 51/week @ 2024-07-18 50/week @ 2024-07-25 48/week @ 2024-08-01 37/week @ 2024-08-08 38/week @ 2024-08-15 31/week @ 2024-08-22 58/week @ 2024-08-29 28/week @ 2024-09-05 21/week @ 2024-09-12 38/week @ 2024-09-19 75/week @ 2024-09-26

171 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–45MB
~753K SLoC