Cargo Features

[dependencies]
xmrsplayer = { version = "0.8.5", default-features = false, features = ["std", "demo", "import", "libm", "micromath", "sid", "use_f64", "rodio"] }
default = micromath

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

std demo? = use_f64

Enables std of xmrs

demo = clap, console, cpal, hound, import, sid, std

Required by the binary

import demo?

Enables import_amiga, import_s3m, import_sid and import_xm of xmrs

libm

Enables libm of num-traits and xmrs

num-traits:

libm wrapper

micromath default

Enables micromath, micromath of xmrs

sid demo?

Enables import_sid of xmrs

use_f64 std?

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.

clap demo?
rodio implicit feature

Enables rodio ^0.19

rodio:

Audio playback library

console demo?
cpal demo?
num-traits libm?
hound demo?