Cargo Features

[dependencies]
opusic-sys = { version = "0.5.8", default-features = false, features = ["build-bindgen", "dred", "osce", "no-hardening", "no-stack-protector", "no-fortify-source", "bundled"] }
default = bundled

The bundled feature is set by default whenever opusic-sys is added without default-features = false somewhere in the dependency tree.

build-bindgen = bindgen

Used internally to generate lib.rs

dred

enable DRED

osce

enable OSCE

no-hardening

disable run-time checks that are cheap and safe for use in production.

no-stack-protector

disable stack protection.

no-fortify-source

disable protection against buffer overflows.

bundled build default

bundle "libopus" instead of dynamic linking

Enables cmake

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 build-bindgen?