Cargo Features

onig_sys = { version = "69.8.1", default-features = false, features = ["print-debug", "posix-api", "generate"] }
default = generate

The generate feature is set by default whenever onig_sys is added without default-features = false somewhere in the dependency tree.


Make Oniguruma print debug output for parsing/compiling and executing


include regexec(), which conflicts with libgit2

generate default = bindgen

generate bindings with bindgen

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 generate

Enables bindgen ^0.59