[package] name = "api" version = "0.1.0" edition = "2021" [dependencies] dioxus = { workspace = true, features = ["fullstack"] } sqlx = { version = "0.9.0", features = ["postgres", "runtime-tokio", "uuid", "chrono"], optional = true } chrono = { version = "0.4", features = ["serde"] } thiserror = "2.0.21" uuid = { workspace = true } serde = { version = "1.0.229", features = ["derive"] } toml = "0.8" tracing = "0.1" tokio = { version = "1", features = ["full"], optional = true } axum = { version = "0.8.9", optional = true, features = ["multipart"] } getrandom = { version = "0.3", optional = true } libc = { version = "0.2", optional = true } sha-crypt = { version = "0.6", optional = true, features = ["getrandom"] } [features] server = ["dioxus/server", "dep:sqlx", "dep:tokio", "dep:axum", "dep:getrandom", "dep:libc", "dep:sha-crypt", "uuid/v4"]