denoland / deno_bindgen

Write high-level Deno FFI libraries in Rust.
MIT License
274 stars 28 forks source link

new CLI, stateless macro and struct redesign #136

Closed littledivy closed 10 months ago

littledivy commented 10 months ago

Closes https://github.com/denoland/deno_bindgen/issues/135 Closes https://github.com/denoland/deno_bindgen/issues/4

Compilation and rust-analyzer issues

Fixes https://github.com/denoland/deno_bindgen/issues/132 Fixes https://github.com/denoland/deno_bindgen/issues/131

Struct redesign

Export struct as classes using impl: Closes https://github.com/denoland/deno_bindgen/issues/63

Issues for previous serde structs: Closes https://github.com/denoland/deno_bindgen/issues/127 Closes https://github.com/denoland/deno_bindgen/issues/60 Closes https://github.com/denoland/deno_bindgen/issues/58 Closes https://github.com/denoland/deno_bindgen/issues/23

Memory leaks: Fixes https://github.com/denoland/deno_bindgen/issues/108

Stronger typings

Async/non-blocking issues: Fixes https://github.com/denoland/deno_bindgen/issues/109

Other changes

Support for some types like String removed. These may be added in the future with a faster approach and without memory leaks.

Added support for ECMAScript Explicit Resource Management