Cargo Features

[dependencies]
onig = { version = "6.4.0", default-features = false, features = ["std-pattern", "posix-api", "print-debug", "generate"] }
default = generate

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

std-pattern
posix-api

include regexec()

Enables posix-api of onig_sys

print-debug

Make Oniguruma print debug output for parsing/compiling and executing

Enables print-debug of onig_sys

generate default

generate headers with bindgen

Enables generate of onig_sys