mirror of
https://github.com/librespot-org/librespot.git
synced 2025-10-03 01:39:28 +02:00

* connect: add shuffle_vec.rs * connect: shuffle in place * add shuffle with seed option * reduce complexity to add new metadata fields * add context index to metadata * use seed for shuffle When losing the connection and restarting the dealer, the seed is now stored in the context metadata. So on transfer we can pickup the seed again and shuffle the context as it was previously * add log for shuffle seed * connect: use small_rng, derive Default * Apply suggestions from code review Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com> --------- Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
32 lines
844 B
TOML
32 lines
844 B
TOML
[package]
|
|
name = "librespot-connect"
|
|
version = "0.6.0-dev"
|
|
rust-version.workspace = true
|
|
authors = ["Paul Lietar <paul@lietar.net>"]
|
|
description = "The discovery and Spotify Connect logic for librespot"
|
|
license = "MIT"
|
|
repository = "https://github.com/librespot-org/librespot"
|
|
edition = "2021"
|
|
|
|
[dependencies]
|
|
futures-util = "0.3"
|
|
log = "0.4"
|
|
protobuf = "3.5"
|
|
rand = { version = "0.8", default-features = false, features = ["small_rng"] }
|
|
serde_json = "1.0"
|
|
thiserror = "2.0"
|
|
tokio = { version = "1", features = ["macros", "parking_lot", "sync"] }
|
|
tokio-stream = "0.1"
|
|
uuid = { version = "1.11.0", features = ["v4"] }
|
|
|
|
[dependencies.librespot-core]
|
|
path = "../core"
|
|
version = "0.6.0-dev"
|
|
|
|
[dependencies.librespot-playback]
|
|
path = "../playback"
|
|
version = "0.6.0-dev"
|
|
|
|
[dependencies.librespot-protocol]
|
|
path = "../protocol"
|
|
version = "0.6.0-dev"
|