Cargo Features

[dependencies]
qilin = { version = "0.3.2", default-features = false, features = ["minifb", "image", "serde", "store", "audio", "text"] }
default = store

The store feature is set by default whenever qilin is added without default-features = false somewhere in the dependency tree.

minifb

Exports internal minifb dependency

image

Exports utility functions for converting images from the image crate to a qilin image

Enables bmp, ico, jpeg and png of image ^0.24.6

Affects qilin::image

serde store = serde_json

Adds serde compatibility

Enables serde of mint, derive and std of serde

store default = serde

Adds data storing and player preferences. Also adds serde feature.

Enables serde of hashbrown

Affects game::store

audio

Audio functionalities

Enables kira ^0.8.4

Affects qilin::audio

text

Text and Font rendering

Enables fontdue ^0.7.3

Affects qilin::text

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.

hashbrown store
serde_json serde?