nucleus-js / design

This repo is for the core design, discussion, spec, and tests for nucleus implementations.
Other
110 stars 20 forks source link

Update or write rust bindings for duktape #24

Open creationix opened 8 years ago

Fishrock123 commented 8 years ago

Can be found in https://github.com/nucleus-js/rustyduk/blob/master/src/duk_api.rs with https://github.com/nucleus-js/rustyduk/blob/master/src/duk_rust_link.c used to handle apis defined in the C header.

I don't think it is worth maintaining a separate crate for this, writing the bindings is pretty easy, consumes little time, and this means we can customize those a bit for our usage where it makes sense.