deno_bindgen icon indicating copy to clipboard operation
deno_bindgen copied to clipboard

best practices for binding existing crates

Open andykais opened this issue 7 months ago • 0 comments

I am looking to use this existing crate in deno https://crates.io/crates/gstreamer. What is the recommended way to set up deno ffi bindings in a crate that you do not own? My best guess is that I should create a new repo that takes any public interfaces in this crate and adds the #[deno_bindgen] macro to it. This is likely very involved so I wanted to check in if this is the right approach before I start doing so

andykais avatar Jun 30 '24 16:06 andykais