Files
LibreTunes-DX/Cargo.toml
Ethan Girouard f2a1296454
All checks were successful
Push Workflows / rustfmt (push) Successful in 5s
Push Workflows / tailwind-build (push) Successful in 8s
Push Workflows / docs (push) Successful in 33s
Push Workflows / clippy (push) Successful in 31s
Push Workflows / test (push) Successful in 57s
Push Workflows / build (push) Successful in 1m25s
Push Workflows / nix-build (push) Successful in 5m17s
Move server setup into router_setup
Remove tokio (dioxus::serve provides a runtime)
2026-06-27 18:51:44 -04:00

53 lines
1.7 KiB
TOML

[package]
name = "libretunes"
description = "Open-source audio player and library manager"
repository = "https://git.libretunes.xyz/LibreTunes/LibreTunes-DX"
license = "MIT"
version = "0.1.0"
authors = ["Ethan Girouard"]
edition = "2024"
build = "src/build.rs"
[dependencies]
axum-login = { version = "0.18.0", optional = true }
cfg-if = "1.0.4"
chrono = { version = "0.4.45", features = ["serde"] }
config = { version = "0.15.24", optional = true }
diesel = { version = "2.3.10", optional = true, features = ["chrono"] }
diesel-async = { version = "0.9.1", optional = true, features = ["postgres", "deadpool", "migrations"] }
diesel_migrations = { version = "2.3.2", optional = true }
dioxus = { version = "0.7.9", features = ["router", "fullstack"] }
dotenvy = { version = "0.15.7", optional = true }
fred = { version = "10.1.0", optional = true }
lucide-dioxus = { version = "3.11.0", features = ["notifications"] }
pbkdf2 = { version = "0.13.0", optional = true, features = ["getrandom", "phc"] }
rand = "0.10.1"
serde = { version = "1.0.228", features = ["derive"] }
thiserror = "2.0.18"
tracing = "0.1.44"
[features]
default = ["web"]
web = ["dioxus/web"]
server = [
"dioxus/server",
"dep:axum-login",
"dep:config",
"dep:diesel",
"dep:diesel-async",
"dep:diesel_migrations",
"dep:dotenvy",
"dep:fred",
"dep:pbkdf2",
]
# Disabled until supported
# desktop = ["dioxus/desktop"]
# mobile = ["dioxus/mobile"]
# Enable wasm_js in getrandom when building for wasm32
# This is a workaround for rand not exposing a wasm_js target
# https://github.com/rust-random/rand/issues/1694#issuecomment-3846362044
[target.'cfg(all(target_arch = "wasm32", target_os = "unknown"))'.dependencies]
getrandom = { version = "0.4.3", features = ["wasm_js"] }