# THIS FILE IS AUTOMATICALLY GENERATED BY CARGO
#
# When uploading crates to the registry Cargo will automatically
# "normalize" Cargo.toml files for maximal compatibility
# with all versions of Cargo and also rewrite `path` dependencies
# to registry (e.g., crates.io) dependencies.
#
# If you are reading this file be aware that the original Cargo.toml
# will likely look very different (and much more reasonable).
# See Cargo.toml.orig for the original contents.

[package]
edition = "2024"
rust-version = "1.95.0"
name = "kopuz-server"
version = "0.8.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 = "server"
path = "src/lib.rs"

[[example]]
name = "duration_probe"
path = "examples/duration_probe.rs"

[[test]]
name = "source"
path = "tests/source.rs"

[dependencies.async-trait]
version = "0.1"

[dependencies.config]
version = "0.8.0"
package = "kopuz-config"

[dependencies.db]
version = "0.8.0"
package = "kopuz-db"

[dependencies.directories]
version = "6.0"

[dependencies.hex]
version = "0.4"

[dependencies.httpdate]
version = "1"

[dependencies.jellyfin-sdk-rust]
version = "0.1.2"

[dependencies.md5]
version = "0.8"

[dependencies.rand]
version = "0.10"

[dependencies.reader]
version = "0.8.0"
package = "kopuz-reader"

[dependencies.reqwest]
version = "0.13"
features = [
    "rustls",
    "http2",
    "charset",
    "query",
    "form",
    "json",
]
default-features = false

[dependencies.rookie]
version = "0.5"

[dependencies.serde]
version = "1.0"
features = ["derive"]

[dependencies.serde_json]
version = "1.0"

[dependencies.sha1]
version = "0.10"

[dependencies.tokio]
version = "1.0"
features = [
    "rt",
    "time",
    "sync",
    "macros",
    "io-util",
    "fs",
    "process",
    "rt",
    "sync",
]

[dependencies.tracing]
version = "0.1"

[dependencies.utils]
version = "0.8.0"
package = "kopuz-utils"

[dependencies.uuid]
version = "1.20.0"
features = [
    "v4",
    "fast-rng",
    "macro-diagnostics",
    "js",
]

[dependencies.web-time]
version = "1.1"

[dev-dependencies.tokio]
version = "1.0"
features = [
    "rt",
    "time",
    "sync",
    "macros",
    "io-util",
    "macros",
    "rt-multi-thread",
]

[target.'cfg(not(target_os = "windows"))'.dependencies.rookie]
version = "0.5"

[lints.clippy]
print_stderr = "deny"
print_stdout = "deny"
