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

Add separate features for native system roots and Mozilla webpki roots. Update documentation and build configs to reflect new options.
33 lines
1,001 B
TOML
33 lines
1,001 B
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.workspace = true
|
|
librespot-playback.workspace = true
|
|
librespot-protocol.workspace = true
|
|
|
|
futures-util = "0.3"
|
|
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", "parking_lot", "sync"] }
|
|
tokio-stream = "0.1"
|
|
uuid = { version = "1.18", features = ["v4"] }
|