Unofficial YouTube Music / Spotify Premium client for Android, built in Liquid Glass. Audio effects, Spotify Connect, listening history, 8 languages. Rust core on librespot.
Kotlin alternativeandroidandroid-applicationclientglassmorphisminnertubelibrespotliquid-glassspotifyspotify-connectspotifyapiyoutube-musicyoutube-playerytdlnis
# 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"
rust-version = "1.85"
name = "librespot-playback"
version = "0.8.0"
authors = ["Sasha Hilton <[email protected]>"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "The audio playback logic for librespot"
readme = false
license = "MIT"
repository = "https://github.com/librespot-org/librespot"
[features]
alsa-backend = ["dep:alsa"]
default = [
"rodio-backend",
"native-tls",
]
gstreamer-backend = [
"dep:gstreamer",
"dep:gstreamer-app",
"dep:gstreamer-audio",
]
jackaudio-backend = ["dep:jack"]
native-tls = [
"librespot-core/native-tls",
"librespot-audio/native-tls",
"librespot-metadata/native-tls",
]
passthrough-decoder = ["dep:ogg"]
portaudio-backend = ["dep:portaudio-rs"]
pulseaudio-backend = [
"dep:libpulse-binding",
"dep:libpulse-simple-binding",
]
rodio-backend = [
"dep:cpal",
"dep:rodio",
]
rodiojack-backend = [
"dep:rodio",
"cpal/jack",
]
rustls-tls-native-roots = [
"librespot-core/rustls-tls-native-roots",
"librespot-audio/rustls-tls-native-roots",
"librespot-metadata/rustls-tls-native-roots",
]
rustls-tls-webpki-roots = [
"librespot-core/rustls-tls-webpki-roots",
"librespot-audio/rustls-tls-webpki-roots",
"librespot-metadata/rustls-tls-webpki-roots",
]
sdl-backend = ["dep:sdl2"]
[lib]
name = "librespot_playback"
path = "src/lib.rs"
[dependencies.alsa]
version = "0.10"
optional = true
[dependencies.cpal]
version = "0.16"
optional = true
[dependencies.form_urlencoded]
version = "1.2.2"
[dependencies.futures-util]
version = "0.3"
features = ["std"]
default-features = false
[dependencies.gstreamer]
version = "0.24"
optional = true
[dependencies.gstreamer-app]
version = "0.24"
optional = true
[dependencies.gstreamer-audio]
version = "0.24"
optional = true
[dependencies.jack]
version = "0.13"
optional = true
[dependencies.libpulse-binding]
version = "2"
optional = true
default-features = false
[dependencies.libpulse-simple-binding]
version = "2"
optional = true
default-features = false
[dependencies.librespot-audio]
version = "0.8.0"
default-features = false
[dependencies.librespot-core]
version = "0.8.0"
default-features = false
[dependencies.librespot-metadata]
version = "0.8.0"
default-features = false
[dependencies.log]
version = "0.4"
[dependencies.ogg]
version = "0.9"
optional = true
[dependencies.portable-atomic]
version = "1"
[dependencies.portaudio-rs]
version = "0.3"
optional = true
[dependencies.rand]
version = "0.9"
features = ["small_rng"]
default-features = false
[dependencies.rand_distr]
version = "0.5"
[dependencies.rodio]
version = "0.21"
features = ["playback"]
optional = true
default-features = false
[dependencies.sdl2]
version = "0.38"
optional = true
[dependencies.shell-words]
version = "1.1"
# LOCAL PATCH: loudness of local files, which carry no Spotify normalisation
# data; see local_file.rs.
[dependencies.ebur128]
version = "0.1.10"
[dependencies.symphonia]
version = "0.5"
features = [
"mp3",
"ogg",
"vorbis",
"flac",
# LOCAL PATCH: local files on a phone are as often AAC in MP4 as MP3.
"aac",
"isomp4",
]
default-features = false
[dependencies.thiserror]
version = "2"
[dependencies.tokio]
version = "1"
features = [
"rt-multi-thread",
"sync",
]
[dependencies.zerocopy]
version = "0.8"
features = ["derive"]