From 7c13188f40e6f8ee131770949a54de16d48232fc Mon Sep 17 00:00:00 2001 From: Matt Sandy Date: Thu, 10 Nov 2022 19:35:08 +0000 Subject: [PATCH] [docs] add note about cargo feature flags --- docs/src/installation/README.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/docs/src/installation/README.md b/docs/src/installation/README.md index 54aa43f8..6bf52446 100644 --- a/docs/src/installation/README.md +++ b/docs/src/installation/README.md @@ -78,6 +78,8 @@ flags that are set by default in `Cargo.toml`. `Spotifyd` is split into a base package plus additional features that can be toggled on or off during compilation. Those can be split into two groups: The audio backend features that are responsible for playing back the music and additional functionality features, which enhance your experience using `spotifyd`. +> __Note:__ Selected feature flags are not saved between `build` and `install` commands. To build and install with a particular set of feature flags, pass the same set of flags to both commands. + To enable an additional audio backend, pass `_backend` as a feature flag. We currently support `alsa`, `pulseaudio` and `portaudio`. `Spotifyd` provides the following additional functionality: