#javascript #duktape #js

sys duk-sys

Direct low-level auto-generated bindings to the duktape library

2 unstable releases

Uses old Rust 2015

0.3.0 Dec 16, 2019
0.2.0 Dec 16, 2019

#10 in #duktape


Used in duk

MIT license

14MB
281K SLoC

C 267K SLoC // 0.2% comments Python 6K SLoC // 0.2% comments JavaScript 4.5K SLoC // 0.2% comments Rust 2.5K SLoC C++ 205 SLoC // 0.2% comments CoffeeScript 32 SLoC // 0.1% comments

duktape-sys

An auto-generated wrapper around the Duktape library.

The API of this wrapper is not stable, and currently exposes transient library APIs.

Generated code

This code base contains auto-generated C and Rust wrapper code. The code generator is shipped as a cargo example. To re-generate the wrapper code, run:

cargo run --example gen-wrapper

lib.rs:

An auto-generated wrapper around the Duktape library.

The API of this wrapper is not stable, and currently exposes transient library APIs.

Dependencies