An example for how to ffi between a managed language like C# and rust


I’ve created an example repo that shows how ffi could be modeled between rust and C#, and specifically makes a rust iterator ffi over to a C# IEnumerable<T> and shows how direct it can be with some boilerplate code.