28 lines
796 B
TOML
28 lines
796 B
TOML
[package]
|
|
name = "mflow"
|
|
version = "0.1.0"
|
|
edition = "2021"
|
|
|
|
[dependencies]
|
|
# Version an CLI anpassen (0.6 ist stabil für Fullstack)
|
|
dioxus = { version = "0.7.1", features = ["fullstack"] }
|
|
serde = { version = "1.0", features = ["derive"] }
|
|
serde_json = "1.0"
|
|
once_cell = "1.19"
|
|
# Wichtig: "time" und "sync" Features hinzufügen
|
|
tokio = { version = "1", features = ["sync", "time", "rt"] }
|
|
gloo-timers = { version = "0.3", features = ["futures"] }
|
|
|
|
[target.'cfg(not(target_arch = "wasm32"))'.dependencies]
|
|
tokio = { version = "1", features = ["full"] }
|
|
|
|
[target.'cfg(target_arch = "wasm32")'.dependencies]
|
|
getrandom = { version = "0.2", features = ["js"] }
|
|
|
|
[features]
|
|
default = ["desktop"]
|
|
desktop = ["dioxus/desktop"]
|
|
web = ["dioxus/web"]
|
|
mobile = ["dioxus/mobile"]
|
|
server = ["dioxus/server"]
|