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

- refine dependency features and versions in Cargo.toml files - switch from parking_lot to std sync primitives - remove dashmap dependency and use DefaultKeyedStateStore - update crates Replace parking_lot with std::sync::{Mutex, RwLock, Condvar} throughout the codebase. Update dependencies and code to use poisoning-aware locks, adding explicit panic messages where necessary. Update governor to use DashMapStateStore for rate limiting.
33 lines
1.2 KiB
TOML
33 lines
1.2 KiB
TOML
[package]
|
|
name = "librespot-connect"
|
|
version.workspace = true
|
|
rust-version.workspace = true
|
|
authors = ["Paul Lietar <paul@lietar.net>"]
|
|
license.workspace = true
|
|
description = "The Spotify Connect logic for librespot"
|
|
repository.workspace = true
|
|
edition.workspace = true
|
|
|
|
[features]
|
|
# Refer to the workspace Cargo.toml for the list of features
|
|
default = ["native-tls"]
|
|
|
|
# TLS backend propagation
|
|
native-tls = ["librespot-core/native-tls"]
|
|
rustls-tls-native-roots = ["librespot-core/rustls-tls-native-roots"]
|
|
rustls-tls-webpki-roots = ["librespot-core/rustls-tls-webpki-roots"]
|
|
|
|
[dependencies]
|
|
librespot-core = { version = "0.7.1", path = "../core", default-features = false }
|
|
librespot-playback = { version = "0.7.1", path = "../playback", default-features = false }
|
|
librespot-protocol = { version = "0.7.1", path = "../protocol", default-features = false }
|
|
|
|
futures-util = { version = "0.3", default-features = false, features = ["std"] }
|
|
log = "0.4"
|
|
protobuf = "3.7"
|
|
rand = { version = "0.9", default-features = false, features = ["small_rng"] }
|
|
serde_json = "1.0"
|
|
thiserror = "2"
|
|
tokio = { version = "1", features = ["macros", "sync"] }
|
|
tokio-stream = { version = "0.1", default-features = false }
|
|
uuid = { version = "1.18", default-features = false, features = ["v4"] }
|