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 KiB
TOML
33 lines
1 KiB
TOML
[package]
|
|
name = "librespot-audio"
|
|
version.workspace = true
|
|
rust-version.workspace = true
|
|
authors = ["Paul Lietar <paul@lietar.net>"]
|
|
license.workspace = true
|
|
description = "The audio fetching 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 }
|
|
|
|
aes = "0.8"
|
|
bytes = "1"
|
|
ctr = "0.9"
|
|
futures-util = { version = "0.3", default-features = false, features = ["std"] }
|
|
http-body-util = "0.1"
|
|
hyper = { version = "1.6", features = ["http1", "http2"] }
|
|
hyper-util = { version = "0.1", features = ["client", "http2"] }
|
|
log = "0.4"
|
|
tempfile = "3"
|
|
thiserror = "2"
|
|
tokio = { version = "1", features = ["macros", "sync"] }
|