Cargo Features
[dependencies]
libktx-rs-sys = { version = "0.3.3+v4.0.0", default-features = false, features = ["static", "docs-only", "run-bindgen", "write", "nonfree-etc-unpack"] }
- default = static, write
-
These default features are set whenever
libktx-rs-sys
is added without
somewhere in the dependency tree.default-features = false - static default
-
Compile libktx as a static library?
- docs-only
-
Docs-only build? (does not actually build or link KTX-Software)
- run-bindgen = bindgen
-
Run bindgen as part of the build process?
- write default
-
Support KTX_FEATURE_WRITE? (Writing to KTXs)
- nonfree-etc-unpack
-
Support software ETC unpacking?
>>> Enabling this feature makes a non-open-source file be compiled along with the library! <<<
This is disabled by default to be able to ship this library as Apache-2.0.
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.
- bindgen build run-bindgen?
-
Enables bindgen ^0.59.0