2025-11-03 06:55:45 +01:00
|
|
|
[package]
|
|
|
|
|
name = "pmoaudio-ext"
|
|
|
|
|
version = "0.1.0"
|
2026-04-05 14:06:32 +02:00
|
|
|
edition = "2024"
|
2025-11-03 06:55:45 +01:00
|
|
|
|
|
|
|
|
[dependencies]
|
|
|
|
|
# Core audio types
|
|
|
|
|
pmoaudio = { path = "../pmoaudio" }
|
2025-11-03 14:52:04 +01:00
|
|
|
pmocovers = { path = "../pmocovers"}
|
2025-11-03 06:55:45 +01:00
|
|
|
|
|
|
|
|
# Optional dependencies for cache-sink feature
|
|
|
|
|
pmoaudiocache = { path = "../pmoaudiocache", optional = true }
|
|
|
|
|
pmoflac = { path = "../pmoflac", optional = true }
|
|
|
|
|
pmometadata = { path = "../pmometadata", optional = true }
|
|
|
|
|
|
2025-11-05 13:44:24 +00:00
|
|
|
# Optional dependencies for playlist integration
|
2025-11-03 06:55:45 +01:00
|
|
|
pmoplaylist = { path = "../pmoplaylist", optional = true }
|
2025-11-05 13:44:24 +00:00
|
|
|
pmocache = { path = "../pmocache", optional = true }
|
2025-11-11 19:27:39 +00:00
|
|
|
|
2025-11-03 06:55:45 +01:00
|
|
|
# Async runtime
|
2025-12-30 16:12:30 +01:00
|
|
|
tokio = { workspace = true }
|
2025-11-03 06:55:45 +01:00
|
|
|
tokio-util = { version = "0.7" }
|
|
|
|
|
async-trait = "0.1"
|
|
|
|
|
|
|
|
|
|
# Utilities
|
|
|
|
|
tracing = "0.1"
|
2025-11-12 00:26:00 +00:00
|
|
|
rand = "0.8"
|
2025-11-03 06:55:45 +01:00
|
|
|
|
2025-11-11 19:27:39 +00:00
|
|
|
# HTTP streaming dependencies
|
|
|
|
|
bytes = { version = "1.0", optional = true }
|
2025-12-30 16:12:30 +01:00
|
|
|
serde = { workspace = true, optional = true }
|
|
|
|
|
serde_json = { workspace = true, optional = true }
|
2026-02-26 19:58:37 +01:00
|
|
|
reqwest = { workspace = true, features = ["stream"], optional = true }
|
|
|
|
|
futures = { version = "0.3", optional = true }
|
2026-04-04 18:00:20 +02:00
|
|
|
ureq = { version = "2", optional = true }
|
2025-11-11 19:27:39 +00:00
|
|
|
|
2025-11-03 06:55:45 +01:00
|
|
|
[features]
|
|
|
|
|
default = []
|
2025-11-22 10:51:14 +01:00
|
|
|
cache-sink = ["dep:pmoaudiocache", "dep:pmoflac", "dep:pmometadata", "dep:serde_json"]
|
2025-11-05 15:55:57 +00:00
|
|
|
playlist = ["cache-sink", "dep:pmoplaylist", "dep:pmocache"]
|
2026-04-04 18:00:20 +02:00
|
|
|
http-stream = ["dep:pmoflac", "dep:pmometadata", "dep:bytes", "dep:serde", "dep:reqwest", "dep:futures", "dep:ureq"]
|
2025-11-11 19:27:39 +00:00
|
|
|
all = ["cache-sink", "playlist", "http-stream"]
|