Cargo Features

[dependencies]
libktx-rs = { version = "0.3.3", default-features = false, features = ["test-images", "write"] }
default = write

The write feature is set by default whenever libktx-rs is added without default-features = false somewhere in the dependency tree.

test-images

Enable tests that use the images in libktx-rs-sys/build/KTX-Software/tests. Note that the KTX-Software submodule should be cloned with git-lfs!

write default

Support writing to KTXs as well?

Enables write of libktx-rs-sys

Affects libktx-rs::sinks, texture::TextureSink