Cargo Features
[dependencies]
nif = { version = "0.5.0", default-features = false, features = ["obj_export", "gltf_export"] }
- default = gltf_export, obj_export
-
These default features are set whenever
nif
is added without
somewhere in the dependency tree.default-features = false - 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.