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 default-features = false somewhere in the dependency tree.

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