[package] name = "polaris" version = "0.0.0" authors = ["Antoine Gersant <antoine.gersant@lesforges.org>"] edition = "2021" build = "build.rs" [features] ui = ["native-windows-gui", "native-windows-derive"] [dependencies] ape = "0.5" axum-extra = { version = "0.9.3", features = ["typed-header"] } axum-range = "0.4.0" base64 = "0.22.1" branca = "0.10.1" crossbeam-channel = "0.5.13" futures-util = { version = "0.3.30" } getopts = "0.2.21" headers = "0.4" http = "1.1.0" id3 = "1.14.0" lewton = "0.10.2" log = "0.4.22" metaflac = "0.2.7" mp3-duration = "0.1.10" mp4ameta = "0.11.0" num_cpus = "1.14.0" opus_headers = "0.1.2" pbkdf2 = "0.11" percent-encoding = "2.2" rand = "0.8" rayon = "1.10.0" regex = "1.10.5" rustfm-scrobble = "1.1.1" serde = { version = "1.0.147", features = ["derive"] } serde_derive = "1.0.147" serde_json = "1.0.120" simplelog = "0.12.2" thiserror = "1.0.62" tokio = { version = "1.38", features = ["macros", "rt-multi-thread"] } tokio-util = { version = "0.7.11", features = ["io"] } toml = "0.8.14" tower-http = { version = "0.5.2", features = ["fs"] } ureq = "2.10.0" url = "2.3" [dependencies.axum] version = "0.7.5" default-features = false features = ["http1", "json", "tokio", "tower-log", "query"] [dependencies.image] version = "0.25.1" default-features = false features = ["bmp", "gif", "jpeg", "png"] [dependencies.sqlx] version = "0.7.4" default-features = false features = ["macros", "migrate", "runtime-tokio", "sqlite"] [target.'cfg(windows)'.dependencies] native-windows-gui = { version = "1.0.13", default-features = false, features = [ "cursor", "image-decoder", "message-window", "menu", "tray-notification", ], optional = true } native-windows-derive = { version = "1.0.5", optional = true } [target.'cfg(unix)'.dependencies] daemonize = "0.5" sd-notify = "0.4.2" [target.'cfg(windows)'.build-dependencies] embed-resource = "2.4.2" winres = "0.1" [dev-dependencies] axum-test = "15.3" bytes = "1.6.1" fs_extra = "1.2.0" [profile.dev.package.sqlx-macros] opt-level = 3