Cargo Features

[dependencies]
soundboard = { version = "0.1.1", default-features = false, features = ["full", "autoloop", "flac", "gui", "http", "mp3", "opus", "spotify", "telegram-bot", "text-to-speech", "textui", "vorbis", "wav", "xm"] }
default full? = flac, http, mp3, opus, vorbis, wav

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

full = default, gui, spotify, telegram-bot, text-to-speech, textui, xm
autoloop = ctrlc, libpulse-binding, nix
flac default = claxon

Affects decoder::Decoder

gui full? = iced, iced_native
http default = futures, warp
mp3 default = minimp3, mp3-duration

Affects decoder::Decoder

opus default = audiopus, ogg, ogg_metadata

Affects decoder::Decoder

spotify full? = librespot, tokio-core
telegram-bot full? = fuzzy-matcher, tgbot
text-to-speech full? = prost, tonic

Affects download::ttsclient

textui full? = crossterm, tui
vorbis default = lewton, ogg_metadata

Affects decoder::Decoder

wav default = hound

Affects decoder::Decoder

xm full? = libxm-soundboard

Affects decoder::Decoder

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.

prost text-to-speech?

Enables prost ^0.6

tonic text-to-speech?

Enables tonic ^0.3

fuzzy-matcher telegram-bot?
tgbot telegram-bot?

Enables tgbot ^0.11

librespot spotify?

Enables librespot ^0.1.3

tokio-core spotify?
ctrlc autoloop?
libpulse-binding autoloop?
nix autoloop?

Enables nix ^0.19

iced gui?

Enables iced ^0.2

iced_native gui?

Enables iced_native ^0.3

futures http
warp http

Enables warp ^0.2

audiopus opus
claxon flac
hound wav
lewton vorbis
libxm-soundboard xm?
minimp3 mp3
mp3-duration mp3
ogg opus

Enables ogg ^0.7

ogg_metadata opus vorbis
crossterm textui?

Enables crossterm ^0.18

tui textui?

Enables tui ^0.13