Cargo Features
[dependencies]
crystal-engine = { version = "0.4.0", default-features = false, features = ["format-obj", "format-fbx", "dummy"] }
- default = format-fbx, format-obj
-
These default features are set whenever
crystal-engine
is added without
somewhere in the dependency tree.default-features = false - format-obj default = genmesh, obj
-
Affects
loader::obj
… - format-fbx default = anyhow, fbxcel-dom
-
Affects
loader::fbx
… - dummy
-
dummy feature for CI tools
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.
- genmesh format-obj
-
Enables genmesh
Optional dependencies, these are only included when they are needed for features
- obj format-obj
- fbxcel-dom format-fbx
-
Enables fbxcel-dom ^0.0.5
- anyhow format-fbx
-
Enables anyhow
dependent on fbxcel-dom