neon-bindings / neon

Rust bindings for writing safe and fast native Node.js modules.
https://www.neon-bindings.com/
Apache License 2.0
8k stars 283 forks source link

Clean-up sys bindings orgnaization #982

Open kjvalencik opened 1 year ago

kjvalencik commented 1 year ago

The internal structure of the sys crate mixes Node-API symbols with unsafe pseudo abstractions for Neon. This is very disorganized and sometimes creates confusing auto-complete.

This was done in https://github.com/neon-bindings/neon/pull/970 to minimize changes. We should clean it up.