Cargo Features

brioche-ducc-sys has no features set by default.

[dependencies]
brioche-ducc-sys = { version = "0.1.2-brioche", features = ["use-exec-timeout-check", "build-ffi-gen"] }
use-exec-timeout-check

Similar to DUK_USE_EXEC_TIMEOUT_CHECK.

build-ffi-gen = bindgen

Allows the compilation of a binary ffi-gen that creates bindings from the duktape folder (see src/ffi_gen.rs).

Required by the ffi-gen binary

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-ffi-gen?

Enables bindgen ^0.36