48 lines
1.3 KiB
TOML
48 lines
1.3 KiB
TOML
[package]
|
|
name = "wrbapp"
|
|
version = "0.1.0"
|
|
authors = ["xeovalyte <me+gitea@xeovalyte.dev>"]
|
|
edition = "2021"
|
|
|
|
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
|
|
|
|
[dependencies]
|
|
serde = { version = "1.0", features = ["derive"] }
|
|
|
|
dioxus = { version = "0.6", features = ["fullstack", "router"] }
|
|
wasm-bindgen = "=0.2.97"
|
|
dioxus-cli-config = { version = "0.6", optional = true }
|
|
web-sys = { version = "0.3", features = ["Window", "Location"] }
|
|
|
|
tokio = { version = "1.42", features = ["macros", "rt-multi-thread"], optional = true }
|
|
axum = { version = "0.7", optional = true }
|
|
axum-extra = { version = "0.9", features = ["cookie"], optional = true }
|
|
time = { version = "0.3", optional = true }
|
|
once_cell = { version = "1.20", optional = true }
|
|
surrealdb = { version = "2.1", optional = true }
|
|
thiserror = { version = "2.0" }
|
|
strum = { version = "0.26", features = ["derive"] }
|
|
|
|
csv = { version = "1.3", optional = true }
|
|
|
|
# Debug
|
|
tracing = "0.1"
|
|
manganis = "0.6"
|
|
|
|
[features]
|
|
default = []
|
|
server = [ "dioxus/server", "dioxus-cli-config", "tokio", "axum", "axum-extra", "time", "once_cell", "surrealdb", "csv" ]
|
|
web = ["dioxus/web"]
|
|
|
|
[profile]
|
|
|
|
[profile.wasm-dev]
|
|
inherits = "dev"
|
|
opt-level = 1
|
|
|
|
[profile.server-dev]
|
|
inherits = "dev"
|
|
|
|
[profile.android-dev]
|
|
inherits = "dev"
|