#javascript #javascript-engine #duktape #bindings #fork #ducc #share

brioche-ducc

Rust bindings for Duktape, the embedded JavaScript engine (fork)

1 unstable release

Uses old Rust 2015

0.1.2-brioche Feb 23, 2020

#5 in #duktape


Used in 2 crates

MIT license

3.5MB
75K SLoC

C 70K SLoC // 0.2% comments Rust 5K SLoC // 0.0% comments

ducc

I found that all of the other Duktape bindings were either outdated or incomplete for my needs. Here's yet another interface, but with all of the lessons I learned from using directly the unsafe FFI in a production setting.

Inspiration

Deep gratitude to kyren/rlua, which provided inspiration and some directly copied code snippets. Lua and Duktape share a very similar API, and so do rlua and ducc. Also incredibly inspirational was zrkn/rlua_serde.

Dependencies