[package] name = "crabidy-server" version.workspace = true edition.workspace = true [[bin]] name = "crabidy-server" path = "src/main.rs" [features] # The embedded web client (architecture/web-client.md). On by default; # disable for a headless-only binary without the bundle. default = ["web-ui"] web-ui = ["dep:tonic-web", "dep:include_dir"] [dependencies] anyhow.workspace = true argon2.workspace = true async-trait.workspace = true axum.workspace = true base64.workspace = true blake3.workspace = true clap.workspace = true http.workspace = true include_dir = { workspace = true, optional = true } realfft.workspace = true tonic-web = { workspace = true, optional = true } tower.workspace = true audio-player.workspace = true # The `client` feature pulls in the gRPC executor used by the # library/queue/global subcommands (architecture/cli.md D1/D3). cbd-cli = { workspace = true, features = ["client"] } crabidy-core.workspace = true dirs.workspace = true flume.workspace = true absdy.workspace = true fsdy.workspace = true fyyd.workspace = true futures.workspace = true rand.workspace = true reqwest.workspace = true serde.workspace = true thiserror.workspace = true tidaldy.workspace = true tokio = { workspace = true, features = ["full"] } toml.workspace = true tokio-stream = { workspace = true, features = ["sync"] } tonic = { workspace = true, features = ["router", "transport", "codegen"] } tracing.workspace = true tracing-appender.workspace = true tracing-subscriber.workspace = true ytdy.workspace = true [dev-dependencies] argon2.workspace = true base64.workspace = true http.workspace = true tempfile.workspace = true tower.workspace = true # Default features only (clap-only): generating completions and a man page # must not drag tonic into ordinary builds (architecture/cli.md D7). [build-dependencies] cbd-cli.workspace = true clap.workspace = true