Cargo Features

[dependencies]
nif = { version = "0.4.2", default-features = false, features = ["obj_export", "gltf_export"] }
default = gltf_export, obj_export

These default features are set whenever nif is added without default-features = false somewhere in the dependency tree.

obj_export default

Affects collectors::obj

Required by the nif2obj binary

gltf_export default = gltf, gltf-json

Affects collectors::gltf

Required by the nif2gltf 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.

gltf gltf_export
gltf-json gltf_export