Cargo Features
three-d-asset has no features set by default.
[dependencies]
three-d-asset = { version = "0.8.0", features = ["http", "http-rustls", "data-url", "png", "jpeg", "hdr", "tiff", "tga", "gif", "bmp", "svg", "obj", "gltf", "stl", "pcd", "vol", "serde"] }
- http
-
Enables default-tls of reqwest
reqwest:
Note: this doesn't enable the 'native-tls' feature, which adds specific functionality for it.
- http-rustls
-
Enables rustls-tls of reqwest
- data-url
-
Enables data-url
- png
- jpeg
- hdr
- tiff
- tga
- gif
- bmp
- svg
-
Enables resvg
Affects
img::deserialize_svg
… - obj = wavefront_obj
- gltf
-
Enables gltf
- stl
-
Enables stl_io
- pcd = pcd-rs
- vol
- serde
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.