backend: Only require Dbus on Linux

This commit is contained in:
Elias Projahn 2021-02-15 12:38:17 +01:00
parent e357ab1c1f
commit 266335dfc5
4 changed files with 88 additions and 64 deletions

View file

@ -7,6 +7,7 @@ pub enum Error {
#[error(transparent)]
DatabaseError(#[from] musicus_database::Error),
#[cfg(target_os = "linux")]
#[error("An error happened using the SecretService.")]
SecretServiceError(#[from] secret_service::Error),