Cargo Features
[dependencies]
mugltf = { version = "0.1.2", default-features = false, features = ["std", "serde", "file-loader", "fetch-loader", "gltf-name", "gltf-extras", "gltf-extensions"] }
- default = gltf-name, serde, std
-
These default features are set whenever
mugltf
is added without
somewhere in the dependency tree.default-features = false - std default fetch-loader? file-loader?
-
Enables std of optional serde_json and optional wasm-bindgen
Affects
error::Error
… - serde default = serde_json, serde_repr
-
Affects
model::Extras
,model::Extensions
… - file-loader = data-url, image, std
-
Affects
loader::file_loader
… - fetch-loader = base64, js-sys, std, wasm-bindgen, wasm-bindgen-futures, web-sys
-
Affects
loader::fetch_loader
… - gltf-name default
-
Affects
model::Accessor.name
,model::Animation.name
,model::Buffer.name
,model::BufferView.name
,model::Image.name
,model::Material.name
,model::Mesh.name
,model::Node.name
,model::Sampler.name
,model::Scene.name
,model::Skin.name
,model::Texture.name
… - gltf-extras
-
Affects
model::Gltf.extras
,model::Asset.extras
,model::Accessor.extras
,model::AccessorSparse.extras
,model::AccessorSparseIndices.extras
,model::AccessorSparseValues.extras
,model::Animation.extras
,model::AnimationChannel.extras
,model::AnimationChannelTarget.extras
,model::AnimationSampler.extras
,model::Buffer.extras
,model::BufferView.extras
,model::CameraOrthographic.extras
,model::CameraPerspective.extras
,model::Image.extras
,model::Material.extras
… - gltf-extensions
-
Affects
model::Gltf.extensions
,model::Gltf.extensions_used
,model::Gltf.extensions_required
,model::Asset.extensions
,model::Accessor.extensions
,model::AccessorSparse.extensions
,model::AccessorSparseIndices.extensions
,model::AccessorSparseValues.extensions
,model::Animation.extensions
,model::AnimationChannel.extensions
,model::AnimationChannelTarget.extensions
,model::AnimationSampler.extensions
,model::Buffer.extensions
,model::BufferView.extensions
,model::CameraOrthographic.extensions
,model::CameraPerspective.extensions
…
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.