[package]
edition = "2024"
rust-version = "1.95.0"
name = "kopuz-player"
version = "0.9.0"
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "A modern, lightweight music player built with Rust and Dioxus."
homepage = "https://github.com/Kopuz-org/kopuz"
readme = false
keywords = [
"music",
"player",
"audio",
"dioxus",
]
license = "MIT"
repository = "https://github.com/Kopuz-org/kopuz"
[lib]
name = "player"
path = "src/lib.rs"
[dependencies.config]
version = "0.9.0"
package = "kopuz-config"
[dependencies.cpal]
version = "0.17"
[dependencies.rb]
version = "0.4"
[dependencies.symphonia]
version = "0.6"
features = ["all"]
[dependencies.symphonia-adapter-libopus]
version = "0.3"
[dependencies.tokio]
version = "1.0"
features = [
"rt",
"time",
"sync",
"macros",
"io-util",
]
[dependencies.tracing]
version = "0.1"
[target.'cfg(target_os = "android")'.dependencies.base64]
version = "0.22"
[target.'cfg(target_os = "android")'.dependencies.jni]
version = "0.21"
[target.'cfg(target_os = "android")'.dependencies.ndk-context]
version = "0.1"
[target.'cfg(target_os = "android")'.dependencies.tokio]
version = "1.0"
features = [
"rt",
"time",
"sync",
"macros",
"io-util",
"full",
]
[target.'cfg(target_os = "linux")'.dependencies.mpris-server]
version = "0.10.0"
[target.'cfg(target_os = "linux")'.dependencies.tokio]
version = "1.0"
features = [
"rt",
"time",
"sync",
"macros",
"io-util",
"full",
]
[target.'cfg(target_os = "macos")'.dependencies.block2]
version = "0.6"
[target.'cfg(target_os = "macos")'.dependencies.objc2]
version = "0.6.4"
features = ["std"]
[target.'cfg(target_os = "macos")'.dependencies.objc2-app-kit]
version = "0.3.2"
features = ["NSImage"]
[target.'cfg(target_os = "macos")'.dependencies.objc2-av-foundation]
version = "0.3.2"
features = ["AVAudioSession"]
[target.'cfg(target_os = "macos")'.dependencies.objc2-avf-audio]
version = "0.3.2"
features = ["AVAudioSession"]
[target.'cfg(target_os = "macos")'.dependencies.objc2-foundation]
version = "0.3.2"
features = [
"NSString",
"NSDictionary",
"NSValue",
"NSObject",
"NSURL",
"NSProcessInfo",
]
[target.'cfg(target_os = "macos")'.dependencies.objc2-media-player]
version = "0.3.2"
features = [
"MPNowPlayingInfoCenter",
"MPMediaItem",
"MPRemoteCommandCenter",
"MPRemoteCommand",
]
[target.'cfg(target_os = "macos")'.dependencies.tokio]
version = "1.0"
features = [
"rt",
"time",
"sync",
"macros",
"io-util",
"full",
]
[target.'cfg(target_os = "windows")'.dependencies.reqwest]
version = "0.13"
features = [
"rustls",
"http2",
"charset",
"query",
"form",
"blocking",
]
default-features = false
[target.'cfg(target_os = "windows")'.dependencies.tokio]
version = "1.0"
features = [
"rt",
"time",
"sync",
"macros",
"io-util",
"full",
]
[target.'cfg(target_os = "windows")'.dependencies.windows]
version = "0.62"
features = [
"Foundation",
"Media",
"Win32_Foundation",
"Win32_System_Threading",
"Win32_System_WinRT",
"Win32_UI_WindowsAndMessaging",
"Win32_UI_Shell",
"Storage_Streams",
"Win32_System_Com",
]
[lints.clippy]
print_stderr = "deny"
print_stdout = "deny"