Cargo Features
[dependencies]
qjs-sys = { version = "0.1.2", default-features = false, features = ["bignum", "repl", "qjscalc", "lto", "pic", "debug", "gen", "dump_gc", "dump_objects", "dump_module_resolve", "dump_read_object"] }
- default = bignum, pic, qjscalc, repl
-
These default features are set whenever
qjs-sys
is added without
somewhere in the dependency tree.default-features = false - bignum default qjscalc
- repl default
- qjscalc default = bignum
- lto
- pic default
- debug
- gen = bindgen
- dump_free dump_closure dump_bytecode dump_gc
- dump_gc_free dump_leaks dump_mem dump_objects
- dump_atoms dump_shapes dump_module_resolve
- dump_promise dump_read_object
Features from optional dependencies
In crates that don't use the dep:
syntax, optional dependencies automatically become Cargo features. These features may have been created by mistake, and this functionality may be removed in the future.
- bindgen build gen?
-
Enables bindgen ^0.51