Cargo Features

[dependencies]
brres-sys = { version = "0.1.12", default-features = false, features = ["c_api", "bindgen"] }
default = c_api

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

c_api default

Affects ffi::c_api.brres_read_from_bytes, ffi::c_api.brres_write_bytes, ffi::c_api.brres_free, ffi::c_api.brres_read_mdl0mat_preset, brres-sys::c_api

Features from optional dependencies

bindgen build implicit feature

Enables bindgen ^0.66

bindgen:

Automatically generates Rust FFI bindings to C and C++ libraries