Cargo Features
io_unity has no features set by default.
[dependencies]
io_unity = { version = "0.3.0", features = ["all", "type-tree-json", "external-class-handle", "external-class-handle-texture2d"] }
- all = external-class-handle, external-class-handle-texture2d, type-tree-json
- type-tree-json all? = serde, serde_json, tar, zstd
-
Affects
type_tree::type_tree_json
… - external-class-handle all? = crc, half, ordered-float
-
Affects
classes::animation_clip
,classes::audio_clip
,classes::mesh
,classes::named_object
,classes::transform
… - external-class-handle-texture2d all? = astc-decode, image, texpresso
-
Affects
classes::texture2d
…
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.
- tar type-tree-json?
- zstd type-tree-json?
-
Enables zstd ^0.12
- serde_json type-tree-json?
- serde type-tree-json?
- image external-class-handle-texture2d?
-
Enables image ^0.24
- texpresso external-class-handle-texture2d?
- astc-decode external-class-handle-texture2d?
- half external-class-handle?
- ordered-float external-class-handle?
-
Enables ordered-float ^3.4
- crc external-class-handle?