# THIS FILE IS AUTOMATICALLY GENERATED BY CARGO
#
# When uploading crates to the registry Cargo will automatically
# "normalize" Cargo.toml files for maximal compatibility
# with all versions of Cargo and also rewrite `path` dependencies
# to registry (e.g., crates.io) dependencies.
#
# If you are reading this file be aware that the original Cargo.toml
# will likely look very different (and much more reasonable).
# See Cargo.toml.orig for the original contents.

[package]
edition = "2024"
name = "selene-daemon"
version = "0.1.1"
authors = ["CrypticCreator"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Official music player daemon for Selene"
readme = "README.md"
keywords = [
    "music",
    "metadata",
    "media",
]
categories = ["multimedia::audio"]
license = "MIT"
repository = "https://codeberg.org/CrypticCreator/MusicManager"

[features]
daemon = ["clap"]
default = []
mpris = [
    "mpris-server",
    "tokio",
]

[lib]
name = "selene_daemon"
path = "src/lib.rs"

[[bin]]
name = "selene-daemon"
path = "src/main.rs"
required-features = ["clap"]

[dependencies.audioadapter-buffers]
version = "2.0.0"

[dependencies.blake3]
version = "^1.8.3"
features = [
    "serde",
    "mmap",
]

[dependencies.ciborium]
version = "^0.2.2"

[dependencies.clap]
version = "^4.5.60"
features = ["derive"]
optional = true

[dependencies.cpal]
version = "0.17.3"

[dependencies.lunar-lib]
version = "^0.6.0"

[dependencies.rand]
version = "0.10.0"

[dependencies.ringbuf]
version = "0.4.8"

[dependencies.rubato]
version = "1.0.1"

[dependencies.selene-core]
version = "^0.3.0"

[dependencies.serde]
version = "^1.0.228"
features = ["derive"]

[dependencies.symphonia]
version = "0.5.5"

[dependencies.thiserror]
version = "^2.0.18"

[target."cfg(unix)".dependencies.mpris-server]
version = "0.9.0"
optional = true

[target."cfg(unix)".dependencies.tokio]
version = "1.50.0"
features = [
    "rt",
    "sync",
]
optional = true
