Cargo Features

[dependencies]
xmrs = { version = "0.8.5", default-features = false, features = ["std", "demo", "libm", "micromath", "import", "import_amiga", "import_s3m", "import_sid", "import_xm"] }
default = import, micromath

These default features are set whenever xmrs is added without default-features = false somewhere in the dependency tree.

std

Enables std of bincode, num_enum, and serde

serde:

Provide impls for common standard library types like Vec<T> and HashMap<K, V>.
Requires a dependency on the Rust standard library.

demo = clap, import
libm

Enables libm of num-traits

libm wrapper

micromath default

Enables micromath

import default demo? = import_amiga, import_s3m, import_sid, import_xm
import_amiga import

Affects xmrs::amiga

import_s3m import

Affects xmrs::s3m

import_sid import

Affects xmrs::sid

import_xm import

Affects xmrs::xm

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?
num-traits libm?